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 |
RemoveCustomReticle()
Removes a custom reticle.
Declaration
bool RemoveCustomReticle()
Returns
Type | Description |
---|---|
Boolean |