Ejemplo n.º 1
0
        private void Awake()
        {
            _levelManager   = GetComponent <LevelManagerRLR>();
            _initializeGame = GetComponent <InitializeGameRLR>();

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

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