Skip to main content

AObject

TypeInterfaceInterface Description
Variablesname: stringUsed 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) {
}
}
Copyright © 2025 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalCookies