コード例 #1
0
 protected override void ReleaseReferences()
 {
     PauseGame();
     _isRun            = false;
     systemsHolder     = null;
     _systemController = null;
     _playerController = null;
     parameters        = null;
 }
コード例 #2
0
 private void AssignSystems()
 {
     _systemController = new SystemController();
     foreach (Transform systemTr in systemsHolder)
     {
         var system = systemTr.GetComponent <GameSystem>();
         if (system == null)
         {
             continue;
         }
         system.Initialize();
         _systemController.AddSystem(system);
     }
 }