docs.unity.cn
    Show / Hide Table of Contents

    Class OnDestroyNotifier

    Behavior that fires a callback when it is destroyed

    Inheritance
    Object
    OnDestroyNotifier
    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>
    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use