Example #1
0
 public void SetFocusHold(int index, Hold hold)
 {
     hold.SetBodyActive(index, true);
     if (curFocusHolds[index] != null)
     {
         curFocusHolds[index].SetBodyActive(index, false);
     }
     curFocusHolds[index] = hold;
 }
Example #2
0
 public void Registration(Hold hold)
 {
     if (choiced != (int)Choice.None)
     {
         if (curFocusHolds[choiced] == hold)
         {
             hold.SetBodyActive(choiced, false);
             curFocusHolds[choiced] = null;
         }
         else
         {
             SetFocusHold(choiced, hold);
         }
     }
 }
Example #3
0
 public void Registration(Hold hold)
 {
     if (choiced != (int)AvatarControl.BODYS.NONE)
     {
         ac.SetFixed(choiced, false);
         if (curFocusHolds[choiced] == hold)
         {
             hold.SetBodyActive(choiced, false);
             curFocusHolds[choiced] = null;
         }
         else
         {
             SetFocusHold(choiced, hold);
         }
     }
 }