状态机
public class StateMachine : MonoBehaviour{ public BaseState defaultState; [HideInInspector]public BaseState currentState; private void Awake() {