void OnDestroyUnitEvent(DestroyUnitInfo info, EventControl eventControl) { if (_unitInfo.UnitID == info.DeadInfo.UnitID) { DestroyObject(gameObject); } }
void OnDestoryUnitInfoCallback(DestroyUnitInfo info, EventControl eventControl) { AddKillNum(info.AttackInfo.Uid); AddDeadNum(info.DeadInfo.Uid); }
void OnDestroyUnitEvent(DestroyUnitInfo info, EventControl eventControl) { }