コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 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);
 }
コード例 #4
0
 private static SkillMaterial DoFsmMaterialPopup(GUIContent label, Skill fsm, SkillMaterial fsmObject)
 {
     ActionEditor.DoVariableSelector(label, fsm, 9, fsmObject, -1, null);
     fsmObject.set_UseVariable(true);
     return(fsmObject);
 }
コード例 #5
0
 private static SkillTexture DoFsmTexturePopup(GUIContent label, Skill fsm, SkillTexture fsmObject)
 {
     ActionEditor.DoVariableSelector(label, fsm, 10, fsmObject, -1, null);
     fsmObject.set_UseVariable(true);
     return(fsmObject);
 }
コード例 #6
0
 private static SkillGameObject DoFsmGameObjectPopup(GUIContent label, Skill fsm, SkillGameObject fsmGameObject)
 {
     ActionEditor.DoVariableSelector(label, fsm, 3, fsmGameObject, -1, null);
     fsmGameObject.set_UseVariable(true);
     return(fsmGameObject);
 }
コード例 #7
0
 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);
 }
コード例 #8
0
 private static SkillVector3 DoFsmVector3Popup(GUIContent label, Skill fsm, SkillVector3 fsmVector3)
 {
     ActionEditor.DoVariableSelector(label, fsm, 6, fsmVector3, -1, null);
     fsmVector3.set_UseVariable(true);
     return(fsmVector3);
 }
コード例 #9
0
 private static SkillColor DoFsmColorPopup(GUIContent label, Skill fsm, SkillColor fsmColor)
 {
     ActionEditor.DoVariableSelector(label, fsm, 7, fsmColor, -1, null);
     fsmColor.set_UseVariable(true);
     return(fsmColor);
 }
コード例 #10
0
 private static SkillVector2 DoFsmVector2Popup(GUIContent label, Skill fsm, SkillVector2 fsmVector2)
 {
     ActionEditor.DoVariableSelector(label, fsm, 5, fsmVector2, -1, null);
     fsmVector2.set_UseVariable(true);
     return(fsmVector2);
 }
コード例 #11
0
 private static SkillQuaternion DoFsmQuaternionPopup(GUIContent label, Skill fsm, SkillQuaternion fsmQauternion)
 {
     ActionEditor.DoVariableSelector(label, fsm, 11, fsmQauternion, -1, null);
     fsmQauternion.set_UseVariable(true);
     return(fsmQauternion);
 }
コード例 #12
0
 private static SkillString DoFsmStringPopup(GUIContent label, Skill fsm, SkillString fsmString)
 {
     ActionEditor.DoVariableSelector(label, fsm, 4, fsmString, -1, null);
     fsmString.set_UseVariable(true);
     return(fsmString);
 }
コード例 #13
0
 private static SkillBool DoFsmBoolPopup(GUIContent label, Skill fsm, SkillBool fsmBool)
 {
     ActionEditor.DoVariableSelector(label, fsm, 2, fsmBool, -1, null);
     fsmBool.set_UseVariable(true);
     return(fsmBool);
 }
コード例 #14
0
 private static SkillInt DoFsmIntPopup(GUIContent label, Skill fsm, SkillInt fsmInt)
 {
     ActionEditor.DoVariableSelector(label, fsm, 1, fsmInt, -1, null);
     fsmInt.set_UseVariable(true);
     return(fsmInt);
 }