private void Show()
 {
     if (hasBound)
     {
         ShowBound();
     }
     else
     {
         bone.ResetTranslation();
     }
 }
Esempio n. 2
0
 private void UpdateBone()
 {
     if (visible)
     {
         // show
         bone.ResetTranslation();
     }
     else
     {
         // hide
         bone.SetTranslation(new Vector3(0.0f, 0.0f, -99999.9f));
     }
 }