private static SkillVar DoFsmVarPopup(GUIContent label, Skill fsm, SkillVar fsmVar, VariableType typeConstraint, Type objectConstraint) { ActionEditor.DoVariableSelector(label, fsm, fsmVar.get_Type(), fsmVar.get_NamedVar(), typeConstraint, objectConstraint); fsmVar.useVariable = true; return(fsmVar); }
private static SkillArray DoFsmArrayPopup(GUIContent label, Skill fsm, SkillArray fsmArray, VariableType typeConstraint) { ActionEditor.DoVariableSelector(label, fsm, 13, fsmArray, typeConstraint, fsmArray.get_ObjectType()); fsmArray.set_UseVariable(true); return(fsmArray); }
private static SkillEnum DoFsmEnumPopup(GUIContent label, Skill fsm, SkillEnum fsmEnum, Type objectType) { ActionEditor.DoVariableSelector(label, fsm, 14, fsmEnum, 14, objectType); fsmEnum.set_UseVariable(true); return(fsmEnum); }
private static SkillMaterial DoFsmMaterialPopup(GUIContent label, Skill fsm, SkillMaterial fsmObject) { ActionEditor.DoVariableSelector(label, fsm, 9, fsmObject, -1, null); fsmObject.set_UseVariable(true); return(fsmObject); }
private static SkillTexture DoFsmTexturePopup(GUIContent label, Skill fsm, SkillTexture fsmObject) { ActionEditor.DoVariableSelector(label, fsm, 10, fsmObject, -1, null); fsmObject.set_UseVariable(true); return(fsmObject); }
private static SkillGameObject DoFsmGameObjectPopup(GUIContent label, Skill fsm, SkillGameObject fsmGameObject) { ActionEditor.DoVariableSelector(label, fsm, 3, fsmGameObject, -1, null); fsmGameObject.set_UseVariable(true); return(fsmGameObject); }
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); }
private static SkillVector3 DoFsmVector3Popup(GUIContent label, Skill fsm, SkillVector3 fsmVector3) { ActionEditor.DoVariableSelector(label, fsm, 6, fsmVector3, -1, null); fsmVector3.set_UseVariable(true); return(fsmVector3); }
private static SkillColor DoFsmColorPopup(GUIContent label, Skill fsm, SkillColor fsmColor) { ActionEditor.DoVariableSelector(label, fsm, 7, fsmColor, -1, null); fsmColor.set_UseVariable(true); return(fsmColor); }
private static SkillVector2 DoFsmVector2Popup(GUIContent label, Skill fsm, SkillVector2 fsmVector2) { ActionEditor.DoVariableSelector(label, fsm, 5, fsmVector2, -1, null); fsmVector2.set_UseVariable(true); return(fsmVector2); }
private static SkillQuaternion DoFsmQuaternionPopup(GUIContent label, Skill fsm, SkillQuaternion fsmQauternion) { ActionEditor.DoVariableSelector(label, fsm, 11, fsmQauternion, -1, null); fsmQauternion.set_UseVariable(true); return(fsmQauternion); }
private static SkillString DoFsmStringPopup(GUIContent label, Skill fsm, SkillString fsmString) { ActionEditor.DoVariableSelector(label, fsm, 4, fsmString, -1, null); fsmString.set_UseVariable(true); return(fsmString); }
private static SkillBool DoFsmBoolPopup(GUIContent label, Skill fsm, SkillBool fsmBool) { ActionEditor.DoVariableSelector(label, fsm, 2, fsmBool, -1, null); fsmBool.set_UseVariable(true); return(fsmBool); }
private static SkillInt DoFsmIntPopup(GUIContent label, Skill fsm, SkillInt fsmInt) { ActionEditor.DoVariableSelector(label, fsm, 1, fsmInt, -1, null); fsmInt.set_UseVariable(true); return(fsmInt); }