public override void OnEnterState()
 {
     m_Triliza.SwitchInteractOff();
     if (pvpMatch)
     {
         if (m_PlayerWon == PlayerType.PLAYER)
         {
             GameManager.Instance.GameMenu.InfoText.text = "Player 1 WINS";
         }
         else
         {
             GameManager.Instance.GameMenu.InfoText.text = "Player 2 WINS";
         }
     }
     else
     {
         if (m_PlayerWon == PlayerType.PLAYER)
         {
             GameManager.Instance.GameMenu.InfoText.text = "Player WINS";
         }
         else
         {
             GameManager.Instance.GameMenu.InfoText.text = "COM WINS";
         }
     }
 }
Exemplo n.º 2
0
 public override void OnLeaveState()
 {
     m_Triliza.SwitchInteractOff();
 }
Exemplo n.º 3
0
 public override void OnEnterState()
 {
     m_Triliza.SwitchInteractOff();
     GameManager.Instance.GameMenu.InfoText.text = "TIE";
 }