You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could not set a custom cursor at runtime since Base Reticle and Reticle Root of MRTKBaseReticalVisual of MRTK Right Hand Controller of far ray is not accessible.
The text was updated successfully, but these errors were encountered:
If you are just wanting to change the reticle when hovering over an interactable, have you tried using the "custom reticle" property on the interactable itself. This will change the cursor when you hover over the interactable.
If you want to change the cursor, regardless of what interactable is being hovered, I recommend finding the BaseReticleVisual on the interactor, and call the BaseReticleVisual.AttachCustomReticle. This will hide the default reticle, and show your custom one. Note, as soon as you hover over an interactable with a custom reticle set, this will be cleared.
If you want to change the cursor regardless of what interactable is being hovered and without calling BaseReticleVisual.AttachCustomReticle, you'll need create a variant of the MRTK LeftHand Controller and change the Far Ray's reticle to your own game object. Your game object could then manage its own visual as it sees fit.
At this time, we don't believe it necessary to expose the underlying reticle game objects. If you have concerns or comments, please follow-up with this thread at #11688
This issue has been migrated a new MRTK repository, and the status of this issue will now be tracked at the following location:
We could not set a custom cursor at runtime since Base Reticle and Reticle Root of MRTKBaseReticalVisual of MRTK Right Hand Controller of far ray is not accessible.
The text was updated successfully, but these errors were encountered: