Fight/Actor/AI/SampleAI.cs
@@ -5,6 +5,7 @@ { protected enum E_AIStatus { Idle, Patrol,// 巡逻 MoveToTarget,// 向目标移动 Attack,// 攻击 @@ -31,8 +32,6 @@ { m_Owner = owner; BornPos = bornPosition; m_KeepBornDistSqrt = 5 * 5; // NPC类型的视野读取配置 m_KeepBornDistSqrt = m_Owner.NpcConfig.Sight * .5f;