Tanoda
Leap.Unity.Interaction.InteractionButtonEditor Class Reference
Inheritance diagram for Leap.Unity.Interaction.InteractionButtonEditor:
Leap.Unity.Interaction.InteractionBehaviourEditor Leap.Unity.CustomEditorBase< InteractionBehaviour > Leap.Unity.Interaction.InteractionSliderEditor

Public Member Functions

override void OnInspectorGUI ()
 
- Public Member Functions inherited from Leap.Unity.Interaction.InteractionBehaviourEditor
override void OnInspectorGUI ()
 
- Public Member Functions inherited from Leap.Unity.CustomEditorBase< InteractionBehaviour >
override void OnInspectorGUI ()
 

Protected Member Functions

override void OnEnable ()
 
override void OnEnable ()
 
- Protected Member Functions inherited from Leap.Unity.CustomEditorBase< InteractionBehaviour >
override void OnEnable ()
 
virtual 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 specifyConditionalDrawing (Func< bool > conditional, params string[] dependantProperties)
 
void hideField (string propertyName)
 
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)
 
bool validateProperty (string propertyName)
 

Additional Inherited Members

- Protected Attributes inherited from Leap.Unity.CustomEditorBase< InteractionBehaviour >
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
 
List< SerializedProperty > _modifiedProperties
 

Detailed Description

Definition at line 16 of file InteractionButtonEditor.cs.

Member Function Documentation

◆ OnEnable()

override void Leap.Unity.Interaction.InteractionButtonEditor.OnEnable ( )
protectedvirtual

◆ OnInspectorGUI()

override void Leap.Unity.Interaction.InteractionButtonEditor.OnInspectorGUI ( )

Definition at line 24 of file InteractionButtonEditor.cs.


The documentation for this class was generated from the following file: