Exemplo n.º 1
0
 private void SetRefs()
 {
     uiManagement = FindObjectOfType <UiManagement>();
     uiManagement.SetBossLifeBarUIVisibility(true);
     uiManagement.setBosslifeBarUI();
     uiManagement.updateBosslifeBarUI();
     bossSpriteManager = GetComponent <BossSpriteManager>();
 }
Exemplo n.º 2
0
 private void TriggerEndLevelEvents()
 {
     uiManagement.SetBossLifeBarUIVisibility(false);
     if (bossesContainer)       /*posso tar só testando entao ter ele desativa */
     {
         bossesContainer.DecreaseBossesNumber();
     }
     bossSpriteManager.SetDieColor();
     bossSpriteManager.GenerateExplosions(delayTime);
 }