[StateMachineState]
public string DefaultState;
[ReorderableList]
[ReorderableList, NonNullCheck]
public State[] States;
State m_CurrentState;
foreach (var state in States)
state.gameObject.SetActive(false);
{
if(state.gameObject.activeSelf)
}
SetState(DefaultState);