On Destroy

STD Library
Both Server and Client
Both Mobile and PC
Owner:
entity

Triggered before the current entity is destroyed.