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"; } } }
public override void OnLeaveState() { m_Triliza.SwitchInteractOff(); }
public override void OnEnterState() { m_Triliza.SwitchInteractOff(); GameManager.Instance.GameMenu.InfoText.text = "TIE"; }