Dispatched to notify changes in an animator's state.
Static variables
staticinlineread onlyCYCLE_COMPLETE:String = "cycle_complete"
Defines the value of the type property of a cycle complete event object.
staticinlineread onlySTART:String = "start"
Defines the value of the type property of a start event object.
staticinlineread onlySTOP:String = "stop"
Defines the value of the type property of a stop event object.
Constructor
new(type:String, animator:AnimatorBase)
Create a new AnimatorEvent object.
Parameters:
type | The event type. |
|---|---|
animator | The animator object that is the subject of this event. |