Unity 有限状态机 Finite State Machine
基础类状态机using System.Collections;using System.Collections.Generic;using UnityEngine;public class FiniteStateMachine{ public List<StateBase> states; public StateBase currentState; public StateIndex currentStateIndex; public .