using System.Collections.Generic; namespace ET.Server { [ChildOf(typeof(AOIManagerComponent))] public class Cell: Entity, IAwake, IDestroy { // 处在这个cell的单位 public Dictionary> AOIUnits = new Dictionary>(); // 订阅了这个Cell的进入事件 public Dictionary> SubsEnterEntities = new Dictionary>(); // 订阅了这个Cell的退出事件 public Dictionary> SubsLeaveEntities = new Dictionary>(); } }