docs.unity3d.com
    目次を表示する/隠す

    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)

    Attaches a custom reticle.

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

    Reticle GameObject that is attached.

    Returns
    Type Description
    Boolean

    Returns true if successful. Otherwise, returns false.

    RemoveCustomReticle()

    Removes a custom reticle.

    Declaration
    bool RemoveCustomReticle()
    Returns
    Type Description
    Boolean

    Returns true if successful. Otherwise, returns false.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)