public void SetFocusHold(int index, Hold hold) { hold.SetBodyActive(index, true); if (curFocusHolds[index] != null) { curFocusHolds[index].SetBodyActive(index, false); } curFocusHolds[index] = hold; }
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); } } }
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); } } }