Files
taptap2024_GJ_chidouren/Assets/Scripts/Game/Component/EnemyFSM_AI/Sleep.cs

14 lines
344 B
C#
Raw Normal View History

2024-10-16 00:03:41 +08:00
using XFFSM;
namespace Game.Component.EnemyFSM_AI
{
public class Sleep : EnemyFSMState
{
2024-10-17 00:46:27 +08:00
public override void OnEnter ()
{
2024-10-18 00:23:04 +08:00
this.Entity.AnimState.SetState (EnemyAnimStateType.Idle);
2024-10-17 00:46:27 +08:00
SetAiTarget (this.Entity.CreatePos);
//此处可设置角色动画为沉睡状态
}
2024-10-16 00:03:41 +08:00
}
}