You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
531 B
19 lines
531 B
3 years ago
|
namespace ET
|
||
|
{
|
||
|
// 离开视野
|
||
|
[Event]
|
||
|
public class UnitLeaveSightRange_NotifyClient: AEvent<EventType.UnitLeaveSightRange>
|
||
|
{
|
||
|
protected override void Run(EventType.UnitLeaveSightRange args)
|
||
|
{
|
||
|
// AOIEntity a = args.A;
|
||
|
// AOIEntity b = args.B;
|
||
|
// if (a.Unit.Type != UnitType.Player)
|
||
|
// {
|
||
|
// return;
|
||
|
// }
|
||
|
//
|
||
|
// UnitHelper.NoticeUnitRemove(a.GetParent<Unit>(), b.GetParent<Unit>());
|
||
|
}
|
||
|
}
|
||
|
}
|