public class PN_StopAI : ProcessNode
|
{
|
public PN_StopAI(GA_NpcClientFightNorm npcFight, int stopAI)
|
{
|
m_Target = npcFight;
|
intParam = stopAI;
|
}
|
|
public sealed override void Init()
|
{
|
m_Target.isStopAI = (intParam == 1);
|
#if UNITY_EDITOR
|
if (RuntimeLogUtility.s_LogProcessInfo)
|
{
|
UnityEngine.Debug.LogFormat("停止AI逻辑");
|
}
|
#endif
|
}
|
|
public sealed override bool IsOver()
|
{
|
return true;
|
}
|
|
public sealed override void UnInit()
|
{
|
}
|
|
public sealed override void Update()
|
{
|
}
|
}
|