Beispiel #1
0
 public void ChangeButtonState(GameObject button, bool isInside)
 {
     if (button != null)
     {
         button.GetComponent <ButtonHandler>().ChangeState(button, isInside);
         arm.AttachButton(isInside ? button : null);
         CmdChangeButtonState(button, isInside);
     }
 }