private void Hide()
 {
     if (hasBound)
     {
         HideBound();
     }
     else
     {
         bone.SetTranslation(new Vector3(0.0f, 0.0f, -99999.9f));
     }
 }
示例#2
0
 private void UpdateBone()
 {
     if (visible)
     {
         // show
         bone.ResetTranslation();
     }
     else
     {
         // hide
         bone.SetTranslation(new Vector3(0.0f, 0.0f, -99999.9f));
     }
 }