AnimationEventType
AnimazEventType
| Type | Name | Interface Description |
|---|---|---|
| Enum | AnimationEnd | • Function: Animation end event. |
| Enum | AnimationStart | • Function: Animation start event. |
Examples
AnimationEnd
let value = APJS.AnimationEventType.AnimationEnd;
AnimationStart
let value = APJS.AnimationEventType.AnimationStart;
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use AnimationEventType here
}
onUpdate(deltaTime: number) {
}
}