public void OpenMenu() { if (_menuIsOpen) { return; } _canvasFader.FadeCanvasIn(); _canvasFader.OnFadeInComplete += OnMenuOpened; _menuIsOpen = true; }
public void OpenMenu() { if (_menuIsOpen) { return; } _prevInputMode = InputManager._instance._InputMode; InputManager._instance.SetInputMode(_menuInputMode); _canvasFader.FadeCanvasIn(); _canvasFader.OnFadeInComplete += OnMenuOpened; _menuIsOpen = true; }
public void GameOver() { _canvasFader.FadeCanvasIn(); _addButton.interactable = true; _scoreField.text = ScoreManager._instance._CurrentScore.ToString(); }