Class OnDestroyNotifier
MonoBehaviour that invokes a callback when it is destroyed.
Inherited Members
Namespace: Unity.XR.CoreUtils
Assembly: solution.dll
Syntax
[AddComponentMenu("")]
[ExecuteInEditMode]
[HelpURL("https://docs.unity.cn/Packages/com.unity.xr.core-utils@2.0/api/Unity.XR.CoreUtils.OnDestroyNotifier.html")]
public class OnDestroyNotifier : MonoBehaviour
Properties
| Name | Description |
|---|---|
| Destroyed | Called when this behavior is destroyed. |