Beispiel #1
0
 private void OnDestroy()
 {
     if (m_health != null)
     {
         m_health.OpenBossHealthBar(false);
     }
 }
Beispiel #2
0
 public override void CastSkill()
 {
     base.CastSkill();
     m_health = FindObjectOfType <UIBossHealth>();
     if (m_health != null)
     {
         m_health.OpenBossHealthBar(OpenBar);
     }
     else
     {
         Debug.Assert(false);
     }
 }