private void DisableThreatUnit(ThreatAnimator anim) { anim.gameObject.SetActive(false); if (ActiveThreats.Length == 0) { GetComponentInParent <Zone>().Reset(); } }
public void StrikePlayer(ThreatAnimator anim) { PLAYER.I.TakeHit(Damage); DisableThreatUnit(anim); }