// Update is called once per frame void Update() { if (gameController.CanSelectCharacter()) { if (player.GetButtonDown("Attack") && gameController.CanInput()) { if (outText.activeSelf) { EnterGame(); } } if (player.GetButtonDown("Shove") && gameController.CanInput()) { if (inText.activeSelf) { ExitGame(); } } } }