Beispiel #1
0
        private void Awake()
        {
            _levelManager   = GetComponent <LevelManagerRLR>();
            _initializeGame = GetComponent <InitializeGameRLR>();

            PlayerTrigger.onFinishedLevel += OnFinishedLevel;
        }
Beispiel #2
0
        private void Awake()
        {
            _initializeGame = GetComponent <InitializeGameRLR>();
            _levelManager   = GetComponent <LevelManagerRLR>();

            PlayerTrigger.onPlayerDeath += Death;
        }
 private void Awake()
 {
     _levelManager         = GetComponent <LevelManagerRLR>();
     _controlRLR           = GetComponent <ControlRLR>();
     _scoreRLR             = GetComponent <ScoreRLR>();
     _runlingChaser        = GetComponent <RunlingChaser>();
     _playerBarsManager    = PlayerFactory.GetComponent <PlayerBarsManager>();
     _abilityButtonManager = PlayerFactory.GetComponent <AbilityButtonManager>();
 }