private void ChackIocControllerInstance() { if (IocContainer.Instance != null) { _statusGame = IocContainer.Instance.GameStatusSystem; ChangeGameStatus(); } }
private void StartNextLevel() { _gameStatusController = IocContainer.Instance.GameStatusSystem; _gameStatusController.IsCanSpawn = false; _gameStatusController.IsCanMove = false; ActiveLevel++; _timer = 0; SetCurrentLevel(); OnLevelComplit?.Invoke(); SetNewLevelData(); RunNewLevel(); }