예제 #1
0
 private void ChackIocControllerInstance()
 {
     if (IocContainer.Instance != null)
     {
         _statusGame = IocContainer.Instance.GameStatusSystem;
         ChangeGameStatus();
     }
 }
예제 #2
0
    private void StartNextLevel()
    {
        _gameStatusController            = IocContainer.Instance.GameStatusSystem;
        _gameStatusController.IsCanSpawn = false;
        _gameStatusController.IsCanMove  = false;

        ActiveLevel++;
        _timer = 0;
        SetCurrentLevel();
        OnLevelComplit?.Invoke();

        SetNewLevelData();
        RunNewLevel();
    }