private static SkillObject DoFsmObjectPopup(GUIContent label, Skill fsm, SkillObject fsmObject, Type objectType) { ActionEditor.DoVariableSelector(label, fsm, 12, fsmObject, 12, objectType); fsmObject.set_UseVariable(true); return(fsmObject); }