IndieGame/client/Assets/Ether/Scripts/Module/StateMachine/StateBase.cs
2024-10-30 17:58:20 +08:00

31 lines
564 B
C#

using UnityEngine;
namespace Ether
{
public abstract class StateBase
{
public StateMachine StateMachine{ get; set; }
public abstract void Enter();
public abstract void Execute();
public abstract void Exit();
}
public class IdleState : StateBase
{
public override void Enter()
{
Debug.LogError("IdleState Enter");
}
public override void Execute()
{
}
public override void Exit()
{
}
}
}