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.
27 lines
712 B
27 lines
712 B
namespace ET |
|
{ |
|
// 进入视野通知 |
|
[Event] |
|
public class UnitEnterSightRange_NotifyClient: AEvent<EventType.UnitEnterSightRange> |
|
{ |
|
protected override void Run(EventType.UnitEnterSightRange args) |
|
{ |
|
// AOIEntity a = args.A; |
|
// AOIEntity b = args.B; |
|
// if (a.Id == b.Id) |
|
// { |
|
// return; |
|
// } |
|
// |
|
// Unit ua = a.GetParent<Unit>(); |
|
// if (ua.Type != UnitType.Player) |
|
// { |
|
// return; |
|
// } |
|
// |
|
// Unit ub = b.GetParent<Unit>(); |
|
// |
|
// UnitHelper.NoticeUnitAdd(ua, ub); |
|
} |
|
} |
|
} |