public void Awake() { _initializeGame = GetComponent <InitializeGameRLR>(); _score = GetComponent <ScoreRLR>(); _controlRLR = GetComponent <ControlRLR>(); _levels = _initializeLevelsRLR.SetDifficulty(this); }
private void Awake() { _levelManager = GetComponent <LevelManagerRLR>(); _controlRLR = GetComponent <ControlRLR>(); _scoreRLR = GetComponent <ScoreRLR>(); _runlingChaser = GetComponent <RunlingChaser>(); _playerBarsManager = PlayerFactory.GetComponent <PlayerBarsManager>(); _abilityButtonManager = PlayerFactory.GetComponent <AbilityButtonManager>(); }
private void Awake() { _controlRLR = GetComponent <ControlRLR>(); switch (GameControl.GameState.SetDifficulty) { case Difficulty.Normal: _difficultyMultiplier = 1; break; case Difficulty.Hard: _difficultyMultiplier = 2; break; } }