EntityLoadAfterEventSignal Class
Registers a script-based event handler for handling what happens when an entity loads.
Methods
subscribe
subscribe(callback: (arg: EntityLoadAfterEvent) => void): (arg: EntityLoadAfterEvent) => void
Method to register an event handler for what happens when an entity loads.
Parameters
callback: (arg: EntityLoadAfterEvent) => void
Function that handles the load event.
Returns (arg: EntityLoadAfterEvent) => void
Important
This function can't be called in read-only mode.
unsubscribe
unsubscribe(callback: (arg: EntityLoadAfterEvent) => void): void
Unregisters a method that was previously subscribed to the subscription event.
Parameters
callback: (arg: EntityLoadAfterEvent) => void
Original function that was passed into the subscribe event, that is to be unregistered.
Important
This function can't be called in read-only mode.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for