Summary
[Editor-Only] A
UnityEditor.PropertyDrawer
for Animancer.WeightedMaskLayersDefinition
fields.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- PropertyDrawer
- EditableFieldDrawer
graph BT
Type-->Base0["EditableFieldDrawer"]
click Base0 "/animancer/api/Animancer.Editor/EditableFieldDrawer"
Base0-->Base1["PropertyDrawer"]
Type["WeightedMaskLayersDefinitionDrawer"]
class Type type-node
Syntax
[CustomPropertyDrawer(typeof(WeightedMaskLayersDefinition), true)]
public class WeightedMaskLayersDefinitionDrawer : EditableFieldDrawer
Attributes
Type | Description |
---|---|
CustomPropertyDrawer |
Events
Name | Type | Summary |
---|---|---|
OnEdit | Action |
The method to call when the "Edit" button is clicked.
Inherited from EditableFieldDrawer
static
|
Methods
Name | Value | Summary |
---|---|---|
GetEditButtonLabel |
void |
Sets the `label` for the "Edit" button.
|
GetPropertyHeight |
float |
Inherited from EditableFieldDrawer
|
OnGUI |
void |