Summary
[Editor-Only] A custom Inspector for
Animancer.IAnimancerComponent
s.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- Editor
- Derived Types
graph BT
Type-->Base0["Editor"]
Type["BaseAnimancerComponentEditor"]
class Type type-node
Derived0["AnimancerComponentEditor"]-->Type
click Derived0 "/animancer-v7-4/api/Animancer.Editor/AnimancerComponentEditor"
Syntax
public abstract class BaseAnimancerComponentEditor : Editor
Properties
Name | Value | Summary |
---|---|---|
Targets | I |
UnityEditor.Editor.targets casted to Animancer.IAnimancerComponent . |
Methods
Name | Value | Summary |
---|---|---|
DoOtherFieldsGUI |
void |
Draws the rest of the Inspector fields after the Animator field.
|
Do |
bool |
[Editor-Only]
Draws any custom GUI for the `property`.
The return value indicates whether the GUI should replace the regular call to
UnityEditor.EditorGUILayout.PropertyField(UnityEditor.SerializedProperty,UnityEngine.GUIContent,System.Boolean,UnityEngine.GUILayoutOption[]) or
not. True = GUI was drawn, so don't draw the regular GUI. False = Draw the regular GUI.
|
OnEnable |
void |
Initializes this
UnityEditor.Editor . |
OnInspectorGUI |
void |
Called by the Unity editor to draw the custom Inspector GUI elements.
|
Requires |
bool |
If we have only one object selected and are in Play Mode, we need to constantly repaint to keep the
Inspector up to date with the latest details.
|