protected void AddInstructionsState(KeyCode keyCode, UnityAction action = null, float inputWaitTime = 0.5f) { fsm.AddIDState(new InstructionsState(++stateID, inputWaitTime, keyCode, action, maxSkillStateID)); Debug.Log(stateID); }