private void Update() { if (viewManager.currentView != CurrentViewType.Game) { return; } if (inputMapper.GetKeyUp(AbstractKey.EditorBackward)) { MoveBackward(); } if (inputMapper.GetKeyUp(AbstractKey.EditorBeginChapter)) { JumpChapter(0); } if (inputMapper.GetKeyUp(AbstractKey.EditorPreviousChapter)) { JumpChapter(-1); } if (inputMapper.GetKeyUp(AbstractKey.EditorNextChapter)) { JumpChapter(1); } }
private void Update() { if (inputMapper.GetKeyUp(AbstractKey.ToggleFullScreen)) { GameRenderManager.SwitchFullScreen(); } }
private void Update() { if (viewManager.currentView != CurrentViewType.Game) { return; } if (inputMapper.GetKeyUp(AbstractKey.EditorReloadScripts)) { ReloadScripts(); } if (inputMapper.GetKeyUp(AbstractKey.EditorRerunAction)) { RerunAction(); } }