onDisable(callback): void
callback
void
Register a callback to run when the script is disabled.
Function
callback - The function to run.
This can only be used while the script is initializing.
Last updated 3 months ago