private void OnTargetedForAttack(EndgameEventArgs args) { if (TargetedForAttack != null) { TargetedForAttack(args); } }
public void TargetForAttack(GameObject attacker) { var args = new EndgameEventArgs(attacker, Self); OnTargetedForAttack(args); }
private void OnTargetedForAttack(EndgameEventArgs args) { if (TargetedForAttack != null) { TargetedForAttack(args); } }
public void TargetForAttack(GameObject attacker) { var args = new EndgameEventArgs(attacker, Self); OnTargetedForAttack(args); }