You've already forked taptap2024_GJ_chidouren
15 lines
333 B
C#
15 lines
333 B
C#
namespace Game.Component.EnemyFSM_AI
|
|
{
|
|
public class Follow : EnemyFSMState
|
|
{
|
|
public override void OnEnter ()
|
|
{
|
|
this.Entity.UpdateSpeedState (true);
|
|
}
|
|
|
|
public override void OnUpdate ()
|
|
{
|
|
this.SetAiTarget (MapContent.Instance.PlayerPosition);
|
|
}
|
|
}
|
|
} |