Class OnDestroyNotifier
Behavior that fires a callback when it is destroyed
Namespace: Unity.XRTools.Utils
Syntax
public class OnDestroyNotifier : MonoBehaviour
Properties
destroyed
Called when this behavior is destroyed
Declaration
public Action<OnDestroyNotifier> destroyed { set; }
Property Value
Type | Description |
---|---|
Action<OnDestroyNotifier> |