using UnityEngine; namespace BaseGames.AI { /// 感知能力接口(第 3 阶段由 SensorAdapter 适配感知系统)。 public interface ISensor { bool SeesPlayer(); bool InRange(float range); // 内部用平方距离比较 bool LostFor(float seconds); // 丢失玩家已持续 seconds Vector2 LastKnown { get; } } }