Ejemplo n.º 1
0
 public void InitializeTrigger(PlayerBarsManager playerBarsManager, RunlingChaser runlingChaser)
 {
     _playerBarsManager = playerBarsManager;
     RunlingChaser      = runlingChaser;
     _score             = RunlingChaser.GetComponent <ScoreRLR>();
     _controlRLR        = RunlingChaser.GetComponent <ControlRLR>();
 }
Ejemplo n.º 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>();
 }