void Refresh(CombatManager.Player player)
 {
     currentPlayer = player;
     if (player.control == Control.INPUT)
     {
         button.interactable = true;
     }
     else
     {
         button.interactable = false;
     }
 }
Beispiel #2
0
 void RefreshInteracability(CombatManager.Player player)
 {
     spellBookButton.interactable = player.control == Control.INPUT;
     currentPlayer = player;
 }