private void Update() { if (SubGameCore == null) { return; } if (Input.GetKeyDown(KeyCode.DownArrow)) { SubGameCore.ForceMovePrevLevel(); } if (Input.GetKeyDown(KeyCode.UpArrow)) { SubGameCore.ForceMoveNextLevel(); } _gameInfoText.text = string.Format(_gameInfoInitialText, SubGameCore.SubGameName, SubGameCore.CurrentLevelId + 1, SubGameCore.CurrentStageId + 1, (int)Time.timeSinceLevelLoad); _gameInfoText.Commit(); }
private void MovePrevLevel() { SubGameCore.ForceMovePrevLevel(); }
private void MoveNextLevel() { SubGameCore.ForceMoveNextLevel(); }