private static void SelectState(object userdata) { EditorCommands.SelectState(userdata); SkillEditor.Inspector.SetMode(InspectorMode.StateInspector); }