Skip to content

Commit

Permalink
remove Vrm10Instance.OnDrawGizmosSelected
Browse files Browse the repository at this point in the history
  • Loading branch information
ousttrue committed Jul 2, 2024
1 parent ee1f3e3 commit 6f0b113
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Assets/VRM10/Runtime/Components/Vrm10Instance/Vrm10Instance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,19 +147,6 @@ private void OnDestroy()
}
}

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)
Expand Down

0 comments on commit 6f0b113

Please sign in to comment.