English
हिन्दी
Home
TUTORIAL
CRAFTLAND MOBILE
Get Started
PATCH NOTES
DOCUMENTS
References
/
Event
/
STD Library
On Destroy
STD Library
Click the tab to access the detailed page of the corresponding module
Both Server and Client
This can only be used on certain platforms (server or client)
Both Mobile and PC
This can only be used on the corresponding editor (Craftland Studio or Craftland Studio PC)
Owner:
entity
This type of entity can respond to this event
Triggered before the current entity is destroyed.
Declaration
event OnDestroy()
go