void TargetDied(GameObject GO) { if (CurrentAction == null) { return; } if (CurrentAction.isBusy) { print(name + " is busy"); return; } if (GO == CurrentAction.CurrentActionTarget) { print(name + " is finding new target"); CurrentAction.GetNewTarget(); } }