Summary
[Editor-Conditional]
A
UnityEngine.PropertyAttribute
which draws itself rather than needing a separate UnityEditor.PropertyDrawer
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Base Types
-
- PropertyAttribute
- Derived Types
graph BT
Type-->Base0["PropertyAttribute"]
Type["SelfDrawerAttribute"]
class Type type-node
Derived0["UnitsAttribute"]-->Type
click Derived0 "/animancer-v7-4/api/Animancer.Units/UnitsAttribute"
Syntax
[System.Diagnostics.Conditional(Strings.UnityEditor)]
public abstract class SelfDrawerAttribute : PropertyAttribute
Attributes
Type | Description |
---|---|
ConditionalAttribute |
Methods
Name | Value | Summary |
---|---|---|
CanCacheInspectorGUI |
bool |
[Editor-Only] Can the GUI for the `property` be cached?
|
GetPropertyHeight |
float |
[Editor-Only] Calculates the height of the GUI for the `property`.
|
OnGUI |
void |
[Editor-Only] Draws the GUI for the `property`.
|