コード例 #1
0
    void Start()
    {
        DontDestroyOnLoad(this.gameObject);

        _UIManager.Initialize();
        _PoolingManager.Initialize();
        _GameDirector.LoadMenu();
    }
コード例 #2
0
        void Update()
        {
            if (_gameInitialized)
            {
                return;
            }

            if (!_poolingManager.Initialized)
            {
                _poolingManager.Initialize();
                return;
            }

            if (!_turnManager.gameObject.activeInHierarchy)
            {
                _turnManager.gameObject.SetActive(true);
                return;
            }

            InitializeGame();

            _gameInitialized = true;
        }
コード例 #3
0
 void Start()
 {
     _PoolingManager.Initialize();
     _MapGenerator.CreateMap();
     _LevelManager.Initialize();
 }