Interface IXRCustomReticleProvider | XR Interaction Toolkit | 0.0.6-preview
docs.unity.cn
    Show / Hide Table of Contents

    Interface IXRCustomReticleProvider

    An interface that allows interactables to request that an interactor use a custom reticle

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public interface IXRCustomReticleProvider

    Methods

    AttachCustomReticle(GameObject)

    Declaration
    bool AttachCustomReticle(GameObject reticleInstance)
    Parameters
    Type Name Description
    GameObject reticleInstance
    Returns
    Type Description
    Boolean

    RemoveCustomReticle()

    Declaration
    bool RemoveCustomReticle()
    Returns
    Type Description
    Boolean
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX