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