Protected
_awokenProtected
_enabledReadonly
entityReadonly
isRead-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.
Optional
callback: SubscriberCallbackFnsubscriber callback
Subscribe a event
event type
callback functions
Optional
options: { options
Optional
priority?: PriorityOptional
target?: anyScript after camera render, called per camera.
Script before camera render, called per camera.
Subscribe a event, just emit once
subscriber callback
Optional
priority?: PriorityOptional
target?: any
Script base class
Export
Script
Date
2023.12.27
Author
yisky