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() { } } }