AObject
Type | Interface | Interface Description |
---|---|---|
Variables | name: string | Used to store and identify the names of special effect objects, facilitating object management and lookup. |
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
//called before the first frame update
onStart() {
console.log('sceneobject name:', this.getSceneObject().name);
}
//called once per frame
onUpdate(deltaTime: number) {
}
}