You've already forked taptap2024_GJ_chidouren
updat core
This commit is contained in:
19
Assets/Scripts/Game/Component/EnemyFSM_AI/Runaway.cs
Normal file
19
Assets/Scripts/Game/Component/EnemyFSM_AI/Runaway.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace Game.Component.EnemyFSM_AI
|
||||
{
|
||||
public class Runaway : EnemyFSMState
|
||||
{
|
||||
public override void OnEnter ()
|
||||
{
|
||||
|
||||
this.Entity.AnimState.SetState (EnemyAnimStateType.Idle);
|
||||
this.Entity.EndAttack ();
|
||||
//角色进入idea状态时 重置状态
|
||||
this.SetAiTarget (this.Entity.CreatePos);
|
||||
}
|
||||
|
||||
public override void OnUpdate ()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c272ad5978c64a97b2d8208f16e9cac6
|
||||
timeCreated: 1729522496
|
||||
Reference in New Issue
Block a user