public void Menu() { _statesManager.SwitchState(StatesEnum.MAIN_MULTIPLAYER_WINDOW); Core.Instance.StartCor( _gameManager.LoadGameScene("EntryPoint", () => { _uiManager.ShowWindow(UIWindowEnum.SPLASH, false); } )); }
public void Menu() { _uiManager.ShowWindow(UIWindowEnum.SPLASH, true); _playerManager.SetTutorialStep(3); _playerManager.PlayerCar = null; _playerManager.currentCar = null; _playerManager.selectedCar = null; _playerManager.playerCars.Clear(); _statesManager.SwitchState(StatesEnum.MAIN_MULTIPLAYER_WINDOW); Core.Instance.StartCor( _gameManager.LoadGameScene("EntryPoint", () => { Core.Instance.StartCor(Wait(1f, () => { _uiManager.ShowWindow(UIWindowEnum.SPLASH, false); })); } )); _uiManager.ShowWindow(UIWindowEnum.MENUTUTORIALWINDOW, true); _uiManager.ShowWindow(UIWindowEnum.FIRSTTUTORIALWINDOW, true); }