Interface IXRCustomReticleProvider
An interface that allows Interactables to request that an Interactor use a custom reticle.
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: Unity.XR.Interaction.Toolkit.dll
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 |
|---|---|
| bool |
RemoveCustomReticle()
Removes a custom reticle.
Declaration
bool RemoveCustomReticle()
Returns
| Type | Description |
|---|---|
| bool |