docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method OnReticleAttached

    OnReticleAttached(XRBaseInteractable, IXRCustomReticleProvider)

    Called by the interactable after it instantiates the custom reticle and attaches it to the reticleProvider.

    Declaration
    void OnReticleAttached(XRBaseInteractable interactable, IXRCustomReticleProvider reticleProvider)
    Parameters
    Type Name Description
    XRBaseInteractable interactable

    The interactable that instantiated the custom reticle.

    IXRCustomReticleProvider reticleProvider

    The object to which the custom reticle was attached.

    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)