VFXStopBehavior
VFXStopBehavior
| Type | Name | Interface Description |
|---|---|---|
| Enum | StopEmitting = 1 | |
| Enum | StopEmittingAndClear = 0 |
Examples
StopEmitting = 1
let value = APJS.VFXStopBehavior.StopEmitting;
StopEmittingAndClear = 0
let value = APJS.VFXStopBehavior.StopEmittingAndClear;
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use VFXStopBehavior here
}
onUpdate(deltaTime: number) {
}
}