Summary
[Editor-Only] Draws the Inspector GUI for a
Animancer.AnimancerEvent.Sequence.Serializable
.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- PropertyDrawer
graph BT
Type-->Base0["PropertyDrawer"]
Type["SerializableEventSequenceDrawer"]
class Type type-node
Syntax
[CustomPropertyDrawer(typeof(Sequence), true)]
public class SerializableEventSequenceDrawer : PropertyDrawer
Attributes
Type | Description |
---|---|
CustomPropertyDrawer |
Fields
Name | Constant Value | Summary |
---|---|---|
Repaint |
Animancer.Editor.AnimancerGUI.RepaintEverything static
|
Methods
Name | Value | Summary |
---|---|---|
AddEvent |
void |
Adds an event to the sequence represented by the given `context`.
static
|
CanCacheInspectorGUI |
bool |
Can't cache because it breaks the
Animancer.Editor.TimelineGUI . |
Do |
void |
Draws a button to add a new event or remove the selected one.
|
DoCallbackGUI |
void |
Draws the GUI fields for the event at the specified `index`.
static
|
DoEventGUI |
void |
Draws the GUI fields for the event at the specified `index`.
|
DoNameGUI |
void |
Draws the time field for the event at the specified `index`.
static
|
DoTimeGUI |
void |
Draws the time field for the event at the specified `index`.
static
|
DoTimeGUI |
void |
Draws the time field for the event at the specified `index`.
static
|
GetPropertyHeight |
float |
Calculates the number of vertical pixels the `property` will occupy when it is drawn.
|
OnGUI |
void |
Draws the GUI for the `property`.
|
RemoveEvent |
void |
Removes the event at the specified `index`.
static
|
SyncEventTimeChange |
void |
Updates the
Animancer.AnimancerEvent.Sequence.Serializable.Events to accomodate a changed event time.static
|