Tanoda
|
Public Member Functions | |
override void | OnInspectorGUI () |
Protected Member Functions | |
override void | OnEnable () |
void | dontShowScriptField () |
void | specifyCustomDrawer (string propertyName, Action< SerializedProperty > propertyDrawer) |
Specify a callback to be used to draw a specific named property. Should be called in OnEnable. More... | |
void | specifyCustomDecorator (string propertyName, Action< SerializedProperty > decoratorDrawer) |
Specify a callback to be used to draw a decorator for a specific named property. Should be called in OnEnable. More... | |
void | specifyCustomPostDecorator (string propertyName, Action< SerializedProperty > decoratorDrawer) |
Specify a callback to be used to draw a decorator AFTER a specific named property. More... | |
void | specifyConditionalDrawing (string conditionalName, params string[] dependantProperties) |
Specify a list of properties that should only be displayed if the conditional property has a value of true. Should be called in OnEnable. More... | |
void | specifyConditionalDrawing (string enumName, int enumValue, params string[] dependantProperties) |
void | hideField (string propertyName) |
void | specifyConditionalDrawing (Func< bool > conditional, params string[] dependantProperties) |
void | deferProperty (string propertyName) |
Defer rendering of a property until the end of the inspector. Deferred properties are drawn in the REVERSE order they are deferred! NOT by the order they appear in the serialized object! More... | |
void | addPropertyToFoldout (string propertyName, string foldoutName, bool foldoutStartOpen=false) |
Condition the drawing of a property based on the status of a foldout drop-down. More... | |
bool | isInFoldout (string propertyName) |
Check whether a property is inside of a foldout drop-down. More... | |
void | drawScriptField (bool disable=true) |
virtual void | OnEnable () |
bool | validateProperty (string propertyName) |
Protected Attributes | |
new T | target |
new T[] | targets |
Dictionary< string, Action< SerializedProperty > > | _specifiedDrawers |
Dictionary< string, List< Action< SerializedProperty > > > | _specifiedDecorators |
Dictionary< string, List< Action< SerializedProperty > > > | _specifiedPostDecorators |
Dictionary< string, List< Func< bool > > > | _conditionalProperties |
Dictionary< string, List< string > > | _foldoutProperties |
Dictionary< string, bool > | _foldoutStates |
List< string > | _deferredProperties |
bool | _showScriptField = true |
List< SerializedProperty > | _modifiedProperties = new List<SerializedProperty>() |
T | : | UnityEngine.Object |
Definition at line 17 of file CustomEditorBase.cs.
|
protected |
Condition the drawing of a property based on the status of a foldout drop-down.
Definition at line 189 of file CustomEditorBase.cs.
|
protected |
Defer rendering of a property until the end of the inspector. Deferred properties are drawn in the REVERSE order they are deferred! NOT by the order they appear in the serialized object!
Definition at line 176 of file CustomEditorBase.cs.
|
protected |
Definition at line 47 of file CustomEditorBase.cs.
|
protected |
Definition at line 217 of file CustomEditorBase.cs.
|
protected |
Definition at line 146 of file CustomEditorBase.cs.
|
protected |
Check whether a property is inside of a foldout drop-down.
Definition at line 206 of file CustomEditorBase.cs.
|
protected |
Definition at line 21 of file CustomEditorBase.cs.
|
protectedvirtual |
Reimplemented in Leap.Unity.Attachments.AttachmentHandsEditor, Leap.Unity.CommentEditor, Leap.Unity.LeapEyeDislocatorEditor, Leap.Unity.LeapImageRetrieverEditor, Leap.Unity.LeapServiceProviderEditor, Leap.Unity.LeapXRServiceProviderEditor, Leap.Unity.PostProcessProviderEditor, Leap.Unity.Animation.TransformTweenBehaviourEditor, Leap.Unity.XRHeightOffsetEditor, Leap.Unity.Recording.PropertyRecorderEditor, Leap.Unity.Recording.EventClipEditor, Leap.Unity.Recording.TransitionBehaviourEditor, Leap.Unity.Recording.OnUnityCallbackEditor, Leap.Unity.Recording.SetAnimatorParamEditor, Leap.Unity.Generation.GeneratorEditor, Leap.Unity.Packaging.DefinitionBaseEditor< T >, Leap.Unity.GraphicalRenderer.LeapGraphicEditorBase< T >, Leap.Unity.GraphicalRenderer.LeapGraphicRendererEditor, Leap.Unity.InputModule.CompressibleUIEditor, Leap.Unity.InputModule.LeapInputModuleEditor, Leap.Unity.Examples.TransformHandleEditor, Leap.Unity.Interaction.ContactBoneParentEditor, Leap.Unity.Interaction.InteractionBehaviourEditor, Leap.Unity.Interaction.InteractionHandEditor, Leap.Unity.Interaction.InteractionManagerEditor, Leap.Unity.Interaction.InteractionVRControllerEditor, Leap.Unity.Interaction.AnchorableBehaviourEditor, Leap.Unity.Interaction.AnchorEditor, Leap.Unity.Interaction.InteractionButtonEditor, and Leap.Unity.Interaction.InteractionSliderEditor.
Definition at line 224 of file CustomEditorBase.cs.
override void Leap.Unity.CustomEditorBase< T >.OnInspectorGUI | ( | ) |
Definition at line 254 of file CustomEditorBase.cs.
|
protected |
Definition at line 152 of file CustomEditorBase.cs.
|
protected |
Specify a list of properties that should only be displayed if the conditional property has a value of true. Should be called in OnEnable.
conditionalName | |
dependantProperties |
Definition at line 112 of file CustomEditorBase.cs.
|
protected |
Definition at line 129 of file CustomEditorBase.cs.
|
protected |
Specify a callback to be used to draw a decorator for a specific named property. Should be called in OnEnable.
Definition at line 69 of file CustomEditorBase.cs.
|
protected |
Specify a callback to be used to draw a specific named property. Should be called in OnEnable.
propertyName | |
propertyDrawer |
Definition at line 56 of file CustomEditorBase.cs.
|
protected |
Specify a callback to be used to draw a decorator AFTER a specific named property.
Should be called in OnEnable.
Definition at line 90 of file CustomEditorBase.cs.
|
protected |
Definition at line 242 of file CustomEditorBase.cs.
|
protected |
Definition at line 36 of file CustomEditorBase.cs.
|
protected |
Definition at line 39 of file CustomEditorBase.cs.
|
protected |
Definition at line 37 of file CustomEditorBase.cs.
|
protected |
Definition at line 38 of file CustomEditorBase.cs.
|
protected |
Definition at line 45 of file CustomEditorBase.cs.
|
protected |
Definition at line 40 of file CustomEditorBase.cs.
|
protected |
Definition at line 34 of file CustomEditorBase.cs.
|
protected |
Definition at line 33 of file CustomEditorBase.cs.
|
protected |
Definition at line 35 of file CustomEditorBase.cs.
|
protected |
Definition at line 18 of file CustomEditorBase.cs.
|
protected |
Definition at line 19 of file CustomEditorBase.cs.