docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Interface IXRInteractableCustomReticle

    Interface for a component on a customReticle for an interactable.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Assembly: solution.dll
    Syntax
    public interface IXRInteractableCustomReticle

    Methods

    Name Description
    OnReticleAttached(XRBaseInteractable, IXRCustomReticleProvider)

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

    OnReticleDetaching()

    Called by the interactable before it detaches the custom reticle and destroys it.

    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)