// 从角色列表移除角色aa public void RemoveActor(sdGameActor kActor) { if (mActorList.Contains(kActor)) { kActor.OnRemoveFromBehaviourNode(this); kActor.NotifyChangeTarget -= NotifyChangeTarget; kActor.NotifyHurt -= NotifyHurt; mActorList.Remove(kActor); } }