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 |