Summary
[Editor-Only] A custom Inspector for
Animancer.AnimancerComponent
s.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- Editor
- Base
Animancer Component Editor
- Derived Types
graph BT
Type-->Base0["BaseAnimancerComponentEditor"]
click Base0 "/animancer/api/Animancer.Editor/BaseAnimancerComponentEditor"
Base0-->Base1["Editor"]
Type["AnimancerComponentEditor"]
class Type type-node
Derived0["NamedAnimancerComponentEditor"]-->Type
click Derived0 "/animancer/api/Animancer.Editor/NamedAnimancerComponentEditor"
Syntax
[CustomEditor(typeof(AnimancerComponent), true), CanEditMultipleObjects]
public class AnimancerComponentEditor : BaseAnimancerComponentEditor
Attributes
Type | Description |
---|---|
CustomEditor | |
Can |
Properties
Name | Value | Summary |
---|---|---|
Targets | I |
UnityEditor.Editor.targets casted to Animancer.IAnimancerComponent .Inherited from Base
|
Methods
Name | Value | Summary |
---|---|---|
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[]) .
True = GUI was drawn, so don't draw the regular GUI.
False = Draw the regular GUI.
|
Do |
void |
Draws the rest of the Inspector fields after the Animator field.
Inherited from Base
|
OnEnable |
void |
Initializes this
UnityEditor.Editor .Inherited from Base
|
OnInspectorGUI |
void |
Called by the Unity editor to draw the custom Inspector GUI elements.
Inherited from Base
|