Пример #1
0
        public void Awake()
        {
            _initializeGame = GetComponent <InitializeGameRLR>();
            _score          = GetComponent <ScoreRLR>();
            _controlRLR     = GetComponent <ControlRLR>();

            _levels = _initializeLevelsRLR.SetDifficulty(this);
        }
Пример #2
0
 private void Awake()
 {
     _levelManager         = GetComponent <LevelManagerRLR>();
     _controlRLR           = GetComponent <ControlRLR>();
     _scoreRLR             = GetComponent <ScoreRLR>();
     _runlingChaser        = GetComponent <RunlingChaser>();
     _playerBarsManager    = PlayerFactory.GetComponent <PlayerBarsManager>();
     _abilityButtonManager = PlayerFactory.GetComponent <AbilityButtonManager>();
 }
Пример #3
0
        private void Awake()
        {
            _controlRLR = GetComponent <ControlRLR>();
            switch (GameControl.GameState.SetDifficulty)
            {
            case Difficulty.Normal:
                _difficultyMultiplier = 1;
                break;

            case Difficulty.Hard:
                _difficultyMultiplier = 2;
                break;
            }
        }