/// <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); }
private void TowerCloseDeathCondition_died(Core.Health.DamageableBehaviour obj) { throw new System.NotImplementedException(); }