Class NeoFpsEditorGUI
Inheritance
NeoFpsEditorGUI
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public static class NeoFpsEditorGUI
Fields
errorRed
Declaration
public static readonly Color errorRed
Field Value
warningYellow
Declaration
public static readonly Color warningYellow
Field Value
Properties
instructionsNoteStyle
Declaration
public static GUIStyle instructionsNoteStyle { get; }
Property Value
| Type |
Description |
| GUIStyle |
|
mgKeyFoundTexture
Declaration
public static Texture2D mgKeyFoundTexture { get; }
Property Value
| Type |
Description |
| Texture2D |
|
mgKeyNotFoundTexture
Declaration
public static Texture2D mgKeyNotFoundTexture { get; }
Property Value
| Type |
Description |
| Texture2D |
|
separator
Declaration
public static GUIStyle separator { get; }
Property Value
| Type |
Description |
| GUIStyle |
|
wordWrappedBoldLabel
Declaration
public static GUIStyle wordWrappedBoldLabel { get; }
Property Value
| Type |
Description |
| GUIStyle |
|
Methods
AnimatorBoolKeyField(GUIContent, SerializedProperty, UnityEditor.Animations.AnimatorController, Boolean)
Declaration
public static bool AnimatorBoolKeyField(GUIContent label, SerializedProperty prop, UnityEditor.Animations.AnimatorController controller, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
AnimatorBoolKeyField(SerializedProperty, UnityEditor.Animations.AnimatorController, Boolean)
Declaration
public static bool AnimatorBoolKeyField(SerializedProperty prop, UnityEditor.Animations.AnimatorController controller, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
AnimatorFloatKeyField(GUIContent, SerializedProperty, UnityEditor.Animations.AnimatorController, Boolean)
Declaration
public static bool AnimatorFloatKeyField(GUIContent label, SerializedProperty prop, UnityEditor.Animations.AnimatorController controller, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
AnimatorFloatKeyField(SerializedProperty, UnityEditor.Animations.AnimatorController, Boolean)
Declaration
public static bool AnimatorFloatKeyField(SerializedProperty prop, UnityEditor.Animations.AnimatorController controller, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
AnimatorIntKeyField(GUIContent, SerializedProperty, UnityEditor.Animations.AnimatorController, Boolean)
Declaration
public static bool AnimatorIntKeyField(GUIContent label, SerializedProperty prop, UnityEditor.Animations.AnimatorController controller, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
AnimatorIntKeyField(SerializedProperty, UnityEditor.Animations.AnimatorController, Boolean)
Declaration
public static bool AnimatorIntKeyField(SerializedProperty prop, UnityEditor.Animations.AnimatorController controller, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
AnimatorTriggerKeyField(GUIContent, SerializedProperty, UnityEditor.Animations.AnimatorController, Boolean)
Declaration
public static bool AnimatorTriggerKeyField(GUIContent label, SerializedProperty prop, UnityEditor.Animations.AnimatorController controller, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
AnimatorTriggerKeyField(SerializedProperty, UnityEditor.Animations.AnimatorController, Boolean)
Declaration
public static bool AnimatorTriggerKeyField(SerializedProperty prop, UnityEditor.Animations.AnimatorController controller, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
AssetDropdown<T>(SerializedProperty, Func<T, Boolean>, Func<T, String>)
Declaration
public static T AssetDropdown<T>(SerializedProperty prop, Func<T, bool> filter, Func<T, string> formatter)
where T : ScriptableObject
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<T, System.Boolean> |
filter |
|
| System.Func<T, System.String> |
formatter |
|
Returns
Type Parameters
AssetField<T>(GUIContent, SerializedProperty)
Declaration
public static T AssetField<T>(GUIContent label, SerializedProperty prop)
where T : class
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
Returns
Type Parameters
AssetField<T>(Rect, SerializedProperty)
Declaration
public static T AssetField<T>(Rect rect, SerializedProperty prop)
where T : class
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
Returns
Type Parameters
AssetField<T>(SerializedProperty)
Declaration
public static T AssetField<T>(SerializedProperty prop)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
Type Parameters
CallbackFloatPropertyField(SerializedProperty, Func<Single, Single>, GUILayoutOption[])
Declaration
public static void CallbackFloatPropertyField(SerializedProperty prop, Func<float, float> callback, params GUILayoutOption[] options)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<System.Single, System.Single> |
callback |
|
| GUILayoutOption[] |
options |
|
CallbackIntPropertyField(SerializedProperty, Func<Int32, Int32>, GUILayoutOption[])
Declaration
public static void CallbackIntPropertyField(SerializedProperty prop, Func<int, int> callback, params GUILayoutOption[] options)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<System.Int32, System.Int32> |
callback |
|
| GUILayoutOption[] |
options |
|
CallbackStringPropertyField(SerializedProperty, Func<String, String>, GUILayoutOption[])
Declaration
public static void CallbackStringPropertyField(SerializedProperty prop, Func<string, string> callback, params GUILayoutOption[] options)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<System.String, System.String> |
callback |
|
| GUILayoutOption[] |
options |
|
ComponentInHierarchyField<T>(GUIContent, SerializedProperty, Transform, ComponentFilter<T>, Boolean)
Declaration
public static T ComponentInHierarchyField<T>(GUIContent label, SerializedProperty prop, Transform root, ComponentFilter<T> filter, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| Transform |
root |
|
| ComponentFilter<T> |
filter |
|
| System.Boolean |
allowRoot |
|
Returns
Type Parameters
ComponentInHierarchyField<T>(GUIContent, SerializedProperty, Transform, Boolean)
Declaration
public static T ComponentInHierarchyField<T>(GUIContent label, SerializedProperty prop, Transform root, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
Type Parameters
Declaration
public static T ComponentInHierarchyField<T>(Rect rect, SerializedProperty prop, Transform root, ComponentFilter<T> filter, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
| Transform |
root |
|
| ComponentFilter<T> |
filter |
|
| System.Boolean |
allowRoot |
|
Returns
Type Parameters
Declaration
public static T ComponentInHierarchyField<T>(Rect rect, SerializedProperty prop, Transform root, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
Type Parameters
Declaration
public static T ComponentInHierarchyField<T>(SerializedProperty prop, Transform root, ComponentFilter<T> filter, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| Transform |
root |
|
| ComponentFilter<T> |
filter |
|
| System.Boolean |
allowRoot |
|
Returns
Type Parameters
Declaration
public static T ComponentInHierarchyField<T>(SerializedProperty prop, Transform root, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
Type Parameters
DrawRequiredLabel(Rect, SerializedProperty, Boolean)
Declaration
public static void DrawRequiredLabel(Rect rect, SerializedProperty prop, bool valid)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
| System.Boolean |
valid |
|
DrawRequiredLabel(SerializedProperty, Boolean)
Declaration
public static void DrawRequiredLabel(SerializedProperty prop, bool valid)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Boolean |
valid |
|
DrawRequiredPrefixLabel(Rect, SerializedProperty, Boolean)
Declaration
public static Rect DrawRequiredPrefixLabel(Rect rect, SerializedProperty prop, bool valid)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
| System.Boolean |
valid |
|
Returns
DrawRequiredPrefixLabel(SerializedProperty, Boolean)
Declaration
public static void DrawRequiredPrefixLabel(SerializedProperty prop, bool valid)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Boolean |
valid |
|
DropdownField(SerializedProperty, String[])
Declaration
public static int DropdownField(SerializedProperty prop, string[] options)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.String[] |
options |
|
Returns
| Type |
Description |
| System.Int32 |
|
FloatValueMaxPair(SerializedProperty, SerializedProperty)
Declaration
public static void FloatValueMaxPair(SerializedProperty value, SerializedProperty max)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
value |
|
| SerializedProperty |
max |
|
FoldoutProperty(SerializedProperty, GUIContent)
Declaration
public static bool FoldoutProperty(SerializedProperty prop, GUIContent label)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| GUIContent |
label |
|
Returns
| Type |
Description |
| System.Boolean |
|
FoldoutProperty(SerializedProperty, String)
Declaration
public static bool FoldoutProperty(SerializedProperty prop, string title)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.String |
title |
|
Returns
| Type |
Description |
| System.Boolean |
|
GameObjectInHierarchyField(GUIContent, SerializedProperty, Transform, GameObjectFilter, Boolean)
Declaration
public static GameObject GameObjectInHierarchyField(GUIContent label, SerializedProperty prop, Transform root, GameObjectFilter filter, bool allowRoot = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| Transform |
root |
|
| GameObjectFilter |
filter |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| GameObject |
|
Declaration
public static GameObject GameObjectInHierarchyField(Rect rect, SerializedProperty prop, Transform root, GameObjectFilter filter, bool allowRoot = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
| Transform |
root |
|
| GameObjectFilter |
filter |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| GameObject |
|
Declaration
public static GameObject GameObjectInHierarchyField(Rect rect, SerializedProperty prop, Transform root, bool allowRoot = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| GameObject |
|
GameObjectInHierarchyField(SerializedProperty, GUIContent, Transform, Boolean)
Declaration
public static GameObject GameObjectInHierarchyField(SerializedProperty prop, GUIContent label, Transform root, bool allowRoot = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| GUIContent |
label |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| GameObject |
|
Declaration
public static GameObject GameObjectInHierarchyField(SerializedProperty prop, Transform root, GameObjectFilter filter, bool allowRoot = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| Transform |
root |
|
| GameObjectFilter |
filter |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| GameObject |
|
Declaration
public static GameObject GameObjectInHierarchyField(SerializedProperty prop, Transform root, bool allowRoot = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| GameObject |
|
Declaration
public static GameObject GameObjectInHierarchyField<T>(Rect rect, SerializedProperty prop, Transform root, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| GameObject |
|
Type Parameters
GameObjectInHierarchyField<T>(SerializedProperty, GUIContent, Transform, Boolean)
Declaration
public static GameObject GameObjectInHierarchyField<T>(SerializedProperty prop, GUIContent label, Transform root, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| GUIContent |
label |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| GameObject |
|
Type Parameters
Declaration
public static GameObject GameObjectInHierarchyField<T>(SerializedProperty prop, Transform root, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| GameObject |
|
Type Parameters
GetAssetList<T>(SerializedProperty)
Declaration
public static ReorderableList GetAssetList<T>(SerializedProperty prop)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| ReorderableList |
|
Type Parameters
Declaration
public static ReorderableList GetComponentInHierarchyList<T>(SerializedProperty prop, Func<Transform> rootGetter, ComponentFilter<T> filter, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<Transform> |
rootGetter |
|
| ComponentFilter<T> |
filter |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| ReorderableList |
|
Type Parameters
Declaration
public static ReorderableList GetComponentInHierarchyList<T>(SerializedProperty prop, Func<Transform> rootGetter, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<Transform> |
rootGetter |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| ReorderableList |
|
Type Parameters
GetFieldWidth(Int32)
Declaration
public static GUILayoutOption GetFieldWidth(int offset = 0)
Parameters
| Type |
Name |
Description |
| System.Int32 |
offset |
|
Returns
| Type |
Description |
| GUILayoutOption |
|
Declaration
public static ReorderableList GetGameObjectInHierarchyList(SerializedProperty prop, Func<Transform> rootGetter, GameObjectFilter filter, bool allowRoot = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<Transform> |
rootGetter |
|
| GameObjectFilter |
filter |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| ReorderableList |
|
Declaration
public static ReorderableList GetGameObjectInHierarchyList(SerializedProperty prop, Func<Transform> rootGetter, bool allowRoot = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<Transform> |
rootGetter |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| ReorderableList |
|
Declaration
public static ReorderableList GetGameObjectInHierarchyList<T>(SerializedProperty prop, Func<Transform> rootGetter, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<Transform> |
rootGetter |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| ReorderableList |
|
Type Parameters
GetModelPrefabList(SerializedProperty)
Declaration
public static ReorderableList GetModelPrefabList(SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| ReorderableList |
|
GetObjectList(SerializedProperty)
Declaration
public static ReorderableList GetObjectList(SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| ReorderableList |
|
GetPrefabComponentList<T>(SerializedProperty)
Declaration
public static ReorderableList GetPrefabComponentList<T>(SerializedProperty prop)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| ReorderableList |
|
Type Parameters
GetPrefabComponentList<T>(SerializedProperty, ComponentFilter<T>)
Declaration
public static ReorderableList GetPrefabComponentList<T>(SerializedProperty prop, ComponentFilter<T> filter)
where T : class
Parameters
Returns
| Type |
Description |
| ReorderableList |
|
Type Parameters
GetPrefabList(SerializedProperty)
Declaration
public static ReorderableList GetPrefabList(SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| ReorderableList |
|
GetPrefabList(SerializedProperty, GameObjectFilter)
Declaration
public static ReorderableList GetPrefabList(SerializedProperty prop, GameObjectFilter filter)
Parameters
Returns
| Type |
Description |
| ReorderableList |
|
Declaration
public static void Header(Rect r, string header)
Parameters
| Type |
Name |
Description |
| Rect |
r |
|
| System.String |
header |
|
Declaration
public static void Header(string header)
Parameters
| Type |
Name |
Description |
| System.String |
header |
|
InstructionsNote(GUIContent, Boolean)
Declaration
public static void InstructionsNote(GUIContent note, bool up = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
note |
|
| System.Boolean |
up |
|
IntValueMaxPair(SerializedProperty, SerializedProperty)
Declaration
public static void IntValueMaxPair(SerializedProperty value, SerializedProperty max)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
value |
|
| SerializedProperty |
max |
|
LayoutTabs(GUIContent[], SerializedProperty)
Declaration
public static int LayoutTabs(GUIContent[] options, SerializedProperty indexProperty)
Parameters
| Type |
Name |
Description |
| GUIContent[] |
options |
|
| SerializedProperty |
indexProperty |
|
Returns
| Type |
Description |
| System.Int32 |
|
LayoutTabs(String[], SerializedProperty)
Declaration
public static int LayoutTabs(string[] options, SerializedProperty indexProperty)
Parameters
| Type |
Name |
Description |
| System.String[] |
options |
|
| SerializedProperty |
indexProperty |
|
Returns
| Type |
Description |
| System.Int32 |
|
LayoutTabs(Texture[], SerializedProperty)
Declaration
public static int LayoutTabs(Texture[] options, SerializedProperty indexProperty)
Parameters
| Type |
Name |
Description |
| Texture[] |
options |
|
| SerializedProperty |
indexProperty |
|
Returns
| Type |
Description |
| System.Int32 |
|
MiniError(String)
Declaration
public static void MiniError(string message)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
MiniInfo(String)
Declaration
public static void MiniInfo(string message)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
MiniWarning(String)
Declaration
public static void MiniWarning(string message)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
MinMaxSlider(GUIContent, SerializedProperty, Single, Single, GUILayoutOption[])
Declaration
public static void MinMaxSlider(GUIContent label, SerializedProperty vector2Prop, float minLimit, float maxLimit, params GUILayoutOption[] options)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
vector2Prop |
|
| System.Single |
minLimit |
|
| System.Single |
maxLimit |
|
| GUILayoutOption[] |
options |
|
MinMaxSlider(Rect, GUIContent, SerializedProperty, Single, Single)
Declaration
public static void MinMaxSlider(Rect position, GUIContent label, SerializedProperty vector2Prop, float minLimit, float maxLimit)
Parameters
| Type |
Name |
Description |
| Rect |
position |
|
| GUIContent |
label |
|
| SerializedProperty |
vector2Prop |
|
| System.Single |
minLimit |
|
| System.Single |
maxLimit |
|
MinMaxSlider(Rect, SerializedProperty, Single, Single)
Declaration
public static void MinMaxSlider(Rect position, SerializedProperty vector2Prop, float minLimit, float maxLimit)
Parameters
| Type |
Name |
Description |
| Rect |
position |
|
| SerializedProperty |
vector2Prop |
|
| System.Single |
minLimit |
|
| System.Single |
maxLimit |
|
MinMaxSlider(Rect, String, SerializedProperty, Single, Single)
Declaration
public static void MinMaxSlider(Rect position, string labelString, SerializedProperty vector2Prop, float minLimit, float maxLimit)
Parameters
| Type |
Name |
Description |
| Rect |
position |
|
| System.String |
labelString |
|
| SerializedProperty |
vector2Prop |
|
| System.Single |
minLimit |
|
| System.Single |
maxLimit |
|
MinMaxSlider(SerializedProperty, Single, Single, GUILayoutOption[])
Declaration
public static void MinMaxSlider(SerializedProperty vector2Prop, float minLimit, float maxLimit, params GUILayoutOption[] options)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
vector2Prop |
|
| System.Single |
minLimit |
|
| System.Single |
maxLimit |
|
| GUILayoutOption[] |
options |
|
MinMaxSlider(String, SerializedProperty, Single, Single, GUILayoutOption[])
Declaration
public static void MinMaxSlider(string label, SerializedProperty vector2Prop, float minLimit, float maxLimit, params GUILayoutOption[] options)
Parameters
| Type |
Name |
Description |
| System.String |
label |
|
| SerializedProperty |
vector2Prop |
|
| System.Single |
minLimit |
|
| System.Single |
maxLimit |
|
| GUILayoutOption[] |
options |
|
ModelPrefabField(GUIContent, SerializedProperty)
Declaration
public static GameObject ModelPrefabField(GUIContent label, SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| GameObject |
|
ModelPrefabField(Rect, SerializedProperty)
Declaration
public static GameObject ModelPrefabField(Rect rect, SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| GameObject |
|
ModelPrefabField(SerializedProperty)
Declaration
public static GameObject ModelPrefabField(SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| GameObject |
|
MotionGraphBoolDataKeyField(GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphBoolDataKeyField(GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphBoolDataKeyField(Rect, GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphBoolDataKeyField(Rect rect, GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphBoolDataKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphBoolDataKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphEventParamKeyField(GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphEventParamKeyField(GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphEventParamKeyField(Rect, GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphEventParamKeyField(Rect rect, GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphEventParamKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphEventParamKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphFloatDataKeyField(GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphFloatDataKeyField(GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphFloatDataKeyField(Rect, GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphFloatDataKeyField(Rect rect, GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphFloatDataKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphFloatDataKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphFloatParamKeyField(GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphFloatParamKeyField(GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphFloatParamKeyField(Rect, GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphFloatParamKeyField(Rect rect, GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphFloatParamKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphFloatParamKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphIntDataKeyField(GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphIntDataKeyField(GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphIntDataKeyField(Rect, GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphIntDataKeyField(Rect rect, GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphIntDataKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphIntDataKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphIntParamKeyField(GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphIntParamKeyField(GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphIntParamKeyField(Rect, GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphIntParamKeyField(Rect rect, GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphIntParamKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphIntParamKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphSwitchParamKeyField(GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphSwitchParamKeyField(GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphSwitchParamKeyField(Rect, GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphSwitchParamKeyField(Rect rect, GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphSwitchParamKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphSwitchParamKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphTransformParamKeyField(GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphTransformParamKeyField(GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphTransformParamKeyField(Rect, GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphTransformParamKeyField(Rect rect, GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public static bool MotionGraphTransformParamKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphTriggerParamKeyField(GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphTriggerParamKeyField(GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphTriggerParamKeyField(Rect, GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphTriggerParamKeyField(Rect rect, GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphTriggerParamKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphTriggerParamKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphVectorParamKeyField(GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphVectorParamKeyField(GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphVectorParamKeyField(Rect, GUIContent, SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphVectorParamKeyField(Rect rect, GUIContent label, SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MotionGraphVectorParamKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool MotionGraphVectorParamKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
MultiChoiceField(GUIContent, SerializedProperty, String[])
Declaration
public static int MultiChoiceField(GUIContent label, SerializedProperty prop, string[] options)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| System.String[] |
options |
|
Returns
| Type |
Description |
| System.Int32 |
|
MultiChoiceField(SerializedProperty, String[])
Declaration
public static int MultiChoiceField(SerializedProperty prop, string[] options)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.String[] |
options |
|
Returns
| Type |
Description |
| System.Int32 |
|
PrefabComponentField<T>(GUIContent, SerializedProperty)
Declaration
public static T PrefabComponentField<T>(GUIContent label, SerializedProperty prop)
where T : class
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
Returns
Type Parameters
PrefabComponentField<T>(GUIContent, SerializedProperty, ComponentFilter<T>)
Declaration
public static T PrefabComponentField<T>(GUIContent label, SerializedProperty prop, ComponentFilter<T> filter)
where T : class
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| ComponentFilter<T> |
filter |
|
Returns
Type Parameters
PrefabComponentField<T>(Rect, SerializedProperty)
Declaration
public static T PrefabComponentField<T>(Rect rect, SerializedProperty prop)
where T : class
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
Returns
Type Parameters
PrefabComponentField<T>(Rect, SerializedProperty, ComponentFilter<T>)
Declaration
public static T PrefabComponentField<T>(Rect rect, SerializedProperty prop, ComponentFilter<T> filter)
where T : class
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
| ComponentFilter<T> |
filter |
|
Returns
Type Parameters
PrefabComponentField<T>(SerializedProperty)
Declaration
public static T PrefabComponentField<T>(SerializedProperty prop)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
Type Parameters
PrefabComponentField<T>(SerializedProperty, ComponentFilter<T>)
Declaration
public static T PrefabComponentField<T>(SerializedProperty prop, ComponentFilter<T> filter)
where T : class
Parameters
Returns
Type Parameters
PrefabDropdown(SerializedProperty, Func<GameObject, Boolean>)
Declaration
public static GameObject PrefabDropdown(SerializedProperty prop, Func<GameObject, bool> filter)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<GameObject, System.Boolean> |
filter |
|
Returns
| Type |
Description |
| GameObject |
|
PrefabDropdown<T>(SerializedProperty)
Declaration
public static T PrefabDropdown<T>(SerializedProperty prop)
where T : Component
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
Type Parameters
PrefabDropdown<T>(SerializedProperty, Func<T, Boolean>)
Declaration
public static T PrefabDropdown<T>(SerializedProperty prop, Func<T, bool> filter)
where T : Component
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.Func<T, System.Boolean> |
filter |
|
Returns
Type Parameters
PrefabField(GUIContent, SerializedProperty)
Declaration
public static GameObject PrefabField(GUIContent label, SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| GameObject |
|
PrefabField(GUIContent, SerializedProperty, GameObjectFilter)
Declaration
public static GameObject PrefabField(GUIContent label, SerializedProperty prop, GameObjectFilter filter)
Parameters
| Type |
Name |
Description |
| GUIContent |
label |
|
| SerializedProperty |
prop |
|
| GameObjectFilter |
filter |
|
Returns
| Type |
Description |
| GameObject |
|
PrefabField(Rect, SerializedProperty)
Declaration
public static GameObject PrefabField(Rect rect, SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| GameObject |
|
PrefabField(Rect, SerializedProperty, GameObjectFilter)
Declaration
public static GameObject PrefabField(Rect rect, SerializedProperty prop, GameObjectFilter filter)
Parameters
Returns
| Type |
Description |
| GameObject |
|
PrefabField(SerializedProperty)
Declaration
public static GameObject PrefabField(SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| GameObject |
|
PrefabField(SerializedProperty, GameObjectFilter)
Declaration
public static GameObject PrefabField(SerializedProperty prop, GameObjectFilter filter)
Parameters
Returns
| Type |
Description |
| GameObject |
|
RequiredAnimatorBoolKeyField(SerializedProperty, UnityEditor.Animations.AnimatorController)
Declaration
public static bool RequiredAnimatorBoolKeyField(SerializedProperty prop, UnityEditor.Animations.AnimatorController controller)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredAnimatorFloatKeyField(SerializedProperty, UnityEditor.Animations.AnimatorController)
Declaration
public static bool RequiredAnimatorFloatKeyField(SerializedProperty prop, UnityEditor.Animations.AnimatorController controller)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredAnimatorIntKeyField(SerializedProperty, UnityEditor.Animations.AnimatorController)
Declaration
public static bool RequiredAnimatorIntKeyField(SerializedProperty prop, UnityEditor.Animations.AnimatorController controller)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredAnimatorTriggerKeyField(SerializedProperty, UnityEditor.Animations.AnimatorController)
Declaration
public static bool RequiredAnimatorTriggerKeyField(SerializedProperty prop, UnityEditor.Animations.AnimatorController controller)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| UnityEditor.Animations.AnimatorController |
controller |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredAssetField<T>(SerializedProperty)
Declaration
public static bool RequiredAssetField<T>(SerializedProperty prop)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
Declaration
public static bool RequiredComponentInHierarchyField<T>(SerializedProperty prop, Transform root, ComponentFilter<T> filter, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| Transform |
root |
|
| ComponentFilter<T> |
filter |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
Declaration
public static bool RequiredComponentInHierarchyField<T>(SerializedProperty prop, Transform root, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
Declaration
public static bool RequiredGameObjectInHierarchyField(SerializedProperty prop, Transform root, GameObjectFilter filter, bool allowRoot = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| Transform |
root |
|
| GameObjectFilter |
filter |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public static bool RequiredGameObjectInHierarchyField(SerializedProperty prop, Transform root, bool allowRoot = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public static bool RequiredGameObjectInHierarchyField<T>(SerializedProperty prop, Transform root, bool allowRoot = true)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| Transform |
root |
|
| System.Boolean |
allowRoot |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
RequiredModelPrefabField(SerializedProperty)
Declaration
public static bool RequiredModelPrefabField(SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredMotionGraphEventKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool RequiredMotionGraphEventKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredMotionGraphFloatKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool RequiredMotionGraphFloatKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredMotionGraphIntKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool RequiredMotionGraphIntKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredMotionGraphSwitchKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool RequiredMotionGraphSwitchKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public static bool RequiredMotionGraphTransformKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredMotionGraphTriggerKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool RequiredMotionGraphTriggerKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredMotionGraphVectorKeyField(SerializedProperty, MotionGraphContainer, Boolean)
Declaration
public static bool RequiredMotionGraphVectorKeyField(SerializedProperty prop, MotionGraphContainer motionGraph, bool allowEmpty = true)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
allowEmpty |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredMultiChoiceField(SerializedProperty, String[])
Declaration
public static bool RequiredMultiChoiceField(SerializedProperty prop, string[] options)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| System.String[] |
options |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredObjectField(SerializedProperty)
Declaration
public static bool RequiredObjectField(SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredPrefabComponentField<T>(SerializedProperty)
Declaration
public static bool RequiredPrefabComponentField<T>(SerializedProperty prop)
where T : class
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
RequiredPrefabComponentField<T>(SerializedProperty, ComponentFilter<T>)
Declaration
public static bool RequiredPrefabComponentField<T>(SerializedProperty prop, ComponentFilter<T> filter)
where T : class
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
RequiredPrefabField(SerializedProperty)
Declaration
public static bool RequiredPrefabField(SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| System.Boolean |
|
RequiredPrefabField(SerializedProperty, GameObjectFilter)
Declaration
public static bool RequiredPrefabField(SerializedProperty prop, GameObjectFilter filter)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
RequiredStringField(SerializedProperty)
Declaration
public static bool RequiredStringField(SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
Returns
| Type |
Description |
| System.Boolean |
|
SceneStringField(Rect, SerializedProperty)
Declaration
public static void SceneStringField(Rect rect, SerializedProperty prop)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
SceneStringField(Rect, SerializedProperty, GUIContent)
Declaration
public static void SceneStringField(Rect rect, SerializedProperty prop, GUIContent label)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| SerializedProperty |
prop |
|
| GUIContent |
label |
|
ScriptField(SerializedObject)
Declaration
public static void ScriptField(SerializedObject serializedObject)
Parameters
| Type |
Name |
Description |
| SerializedObject |
serializedObject |
|
Separator()
Declaration
public static void Separator()
ShowAnimatorKeys(UnityEditor.Animations.AnimatorController, Boolean)
Declaration
public static bool ShowAnimatorKeys(UnityEditor.Animations.AnimatorController controller, bool foldout)
Parameters
| Type |
Name |
Description |
| UnityEditor.Animations.AnimatorController |
controller |
|
| System.Boolean |
foldout |
|
Returns
| Type |
Description |
| System.Boolean |
|
ShowMotionGraphKeys(MotionGraphContainer, Boolean, Boolean, Boolean)
Declaration
public static bool ShowMotionGraphKeys(MotionGraphContainer motionGraph, bool foldout, bool showParameters, bool showData)
Parameters
| Type |
Name |
Description |
| MotionGraphContainer |
motionGraph |
|
| System.Boolean |
foldout |
|
| System.Boolean |
showParameters |
|
| System.Boolean |
showData |
|
Returns
| Type |
Description |
| System.Boolean |
|
TogglePropertyField(SerializedProperty, GUILayoutOption[])
Declaration
public static bool TogglePropertyField(SerializedProperty prop, params GUILayoutOption[] options)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
prop |
|
| GUILayoutOption[] |
options |
|
Returns
| Type |
Description |
| System.Boolean |
|