예제 #1
0
 private void SetRefs()
 {
     uiManagement = FindObjectOfType <UiManagement>();
     uiManagement.SetBossLifeBarUIVisibility(true);
     uiManagement.setBosslifeBarUI();
     uiManagement.updateBosslifeBarUI();
     bossSpriteManager = GetComponent <BossSpriteManager>();
 }
예제 #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);
 }