public void TeamRejected(int playerID) { if (playerID == C.GetMyId()) { VoteDisplay.SetActive(false); RejecteDisplay.SetActive(true); StartCoroutine(SetOffRejectedInfo()); } SetTurn(playerID); }
public void VoteOnTeam(int[] ids) { GameCanvasCtrl.ArrowClick(); Vote.SetActive(true); VoteDisplay.SetActive(true); RejecteDisplay.SetActive(false); VoteCanvasController voteCtrl = VoteDisplay.GetComponent <VoteCanvasController>(); voteCtrl.SetController(this); voteCtrl.SetPlayersNames(ids); }