Inheritance: MonoSingleton
 void Start()
 {
     bossStatusService = FindObjectOfType<BossStatusService>();
     bossStatusService.OnBossDead += BossDeadEventHandler;
     comboHitService = FindObjectOfType<ComboHitService>();
     ComboHitZone.SetActive(false);
     ComboBonusBubble.SetActive(false);
     InitSequenceController();
 }
 void Start()
 {
     bossStatusService = FindObjectOfType<BossStatusService>();
     bossStatusService.OnBossStatusUpdate += BossStatusUpdateEventHandler;
     UpdateBossStatusDisplayValues();
 }
Ejemplo n.º 3
0
 private void InitalizeDependencies()
 {
     HypeController.OnHypeAttack += HypeAttackEventHandler;
     gameControlService = FindObjectOfType<GameControlService>();
     gameStatisticsService = FindObjectOfType<GameStatisticsService>();
     playerPropertyService = FindObjectOfType<PlayerPropertyService>();
     bossStatusService = FindObjectOfType<BossStatusService>();
     bossStatusService.OnBossDead += BossDeadEventHandler;
 }