void Start() { if (_PlayerPrefab == null || _EnemyPrefabs == null || _Camera == null || _PlayerSpownPoint == null || _EnemySpownPoints == null) { Debug.Log("ERROR GameManager Start"); } _MapManager.SetUp(); SetUpCharactor(); _MapPanelManager.SetUp(); SetUpCamera(); _SaveManager.SetUp(); SetUpInputManager(); // キー入力待ちにする GameSequence = eSequence.KEY_INPUT; }
void Update() { if (GameSequence == eSequence.PLAYER_MOVE_END) { for (int i = 0; i < _EnemyPrefabs.Length; i++) { _Enemys[i].Move(OldDir); } } if (GameSequence == eSequence.ENEMY_MOVE_END) { GameSequence = eSequence.KEY_INPUT; } }