Beispiel #1
0
        private void OnLoaded()
        {
            GameObject hero = _gameFactory.CreateHero(GameObject.FindGameObjectWithTag(InitialPointTag));

            _gameFactory.CreateHud();

            CameraFollow(hero);

            _stateMachine.Enter <GameLoopState>();
        }
Beispiel #2
0
 private void EnterLoadLevel()
 {
     _stateMachine.Enter <LoadLevelState, string>("ExperimentalScene");
 }