Protected_awokenProtected_enabledReadonlyentityReadonlyisRead-only flag to check if a given component is of type Script
Component user data
Indicates whether the component is enabled.
Set whether the component is enabled.
Protected_onProtected_onProtected_onProtected_onUnsubscribe a event, if the callback param is not defined, all subscribers of this type will be removed.
Optionalcallback: SubscriberCallbackFnsubscriber callback
Subscribe a event
event type
callback functions
Optionaloptions: { options
Optionalpriority?: PriorityOptionaltarget?: anyScript after camera render, called per camera.
Script before camera render, called per camera.
Subscribe a event, just emit once
subscriber callback
Optionalpriority?: PriorityOptionaltarget?: any
Script base class
Export
Script
Date
2023.12.27
Author
yisky