update core

This commit is contained in:
2024-10-18 00:23:04 +08:00
parent 437b4dd13f
commit 31011e461d
69 changed files with 2660 additions and 241 deletions

View File

@@ -8,6 +8,7 @@ namespace Game.Component.EnemyFSM_AI
private Vector2 target;
public override void OnEnter ()
{
this.Entity.AnimState.SetState (EnemyAnimStateType.Walk);
this.target = this.CreateRandomPos ();
this.SetAiTarget (this.target);
}