docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method OnUnlink

    OnUnlink(XRGrabInteractable)

    Called by Unity when the given Interactable unlinks from this grab transformer. Use this to do any code cleanup for the given Interactable.

    Declaration
    public virtual void OnUnlink(XRGrabInteractable grabInteractable)
    Parameters
    Type Name Description
    XRGrabInteractable grabInteractable

    The XR Grab Interactable being unlinked from this transformer.

    Implements
    IXRGrabTransformer.OnUnlink(XRGrabInteractable)
    See Also
    OnLink(XRGrabInteractable)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)