Event raised when an entity is in the process of being destroyed.
This event is triggered before the destruction of the entity, allowing listeners to perform any necessary cleanup or operations related to the entity's lifecycle.
The entity that is being destroyed.