docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method AttachCustomReticle

    AttachCustomReticle(GameObject)

    Attaches a custom reticle.

    Declaration
    public bool AttachCustomReticle(GameObject reticleInstance)
    Parameters
    Type Name Description
    GameObject reticleInstance

    Reticle GameObject that is attached.

    Returns
    Type Description
    bool

    Returns true if successful. Otherwise, returns false.

    Implements
    IXRCustomReticleProvider.AttachCustomReticle(GameObject)
    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)