示例#1
0
 public void UpdateButtonsForAI()
 {
     Player = 0;
     ObjectButtonLeft.GetComponent <CanvasGameUIButtonControl>().DisablePlayer();
     ObjectButtonRight.GetComponent <CanvasGameUIButtonControl>().DisablePlayer();
 }
示例#2
0
 public void UpdateButtonsForPlayer()
 {
     ObjectButtonLeft.GetComponent <CanvasGameUIButtonControl>().EnablePlayer(Player);
     ObjectButtonRight.GetComponent <CanvasGameUIButtonControl>().EnablePlayer(Player);
 }