onDestroy [EVENT]
Why ?
onDestroy function is used to do something before the attached GameObject is destroyed.
When ?
This function is called when GameObject is going to be destroyed.
Prototype
Last updated
onDestroy function is used to do something before the attached GameObject is destroyed.
This function is called when GameObject is going to be destroyed.
Last updated