onDestroy

open fun onDestroy()

The callback for the destroy of SpatialContainer.