Example #1
0
        private void OnLoaded()
        {
            GameObject hero = _gameFactory.CreateHero(GameObject.FindWithTag(InitialpointTag));

            _gameFactory.CreateHud();
            CameraFollow(hero);
            _gameStateMachine.Enter <GameLoopState>();
        }