Beispiel #1
0
        /// <summary>
        /// Looks for the damageableBehaviour if it is not already assigned
        /// It may be assigned in editor or from a previous LazyLoad() call
        /// </summary>
        protected void LazyLoad()
        {
            if (damageableBehaviour != null)
            {
                return;
            }

            damageableBehaviour = GetComponent <DamageableBehaviour>();
        }
 private void TowerCloseDeathCondition_died(Core.Health.DamageableBehaviour obj)
 {
     ActivateEffect(obj as Targetable);
 }
Beispiel #3
0
 private void TowerCloseDeathCondition_died(Core.Health.DamageableBehaviour obj)
 {
     throw new System.NotImplementedException();
 }