mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-12 13:59:21 -05:00
remove Vrm10Instance.OnDrawGizmosSelected
https://github.com/vrm-c/UniVRM/issues/2325
This commit is contained in:
@@ -147,19 +147,6 @@ namespace UniVRM10
|
||||
}
|
||||
}
|
||||
|
||||
private void OnDrawGizmosSelected()
|
||||
{
|
||||
Gizmos.color = Color.green;
|
||||
foreach (var spring in SpringBone.Springs)
|
||||
{
|
||||
foreach (var (head, tail) in spring.EnumHeadTail())
|
||||
{
|
||||
Gizmos.DrawLine(head.transform.position, tail.transform.position);
|
||||
Gizmos.DrawWireSphere(tail.transform.position, head.m_jointRadius);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool TryGetBoneTransform(HumanBodyBones bone, out Transform t)
|
||||
{
|
||||
if (Humanoid == null)
|
||||
|
||||
Reference in New Issue
Block a user