UI Spatial Selectors by remmyrcade - 1


A Unity tool that allows you use hand tracking to interact with world UI elements.

Unity 2019.2.19f1Creative Commons Zero v1.0 UniversalUpdated 308 days agoCreated on March 9th, 2020
Go to source


This tool is intended for Magic Leap developers who want to to interact with world canvas UI elements using their hands and the controller as input.


Drag and drop the selector prefabs you want to use into your scene (I have one for a controller raycast and one that uses hand tracking key points).

Inside your world UI canvas, drag and drop SpatialSelectable prefabs (or add a UISpatialSelectable component to an element) like you would regular Unity buttons. These components have OnClick, OnHoverBegin and OnHoverEnd events that you can hook into. UISpatialSelectable extends Unity’s Selectable class so it will behave very similar to Unity’s buttons and will play nice with their built in event system.


Show all projects by remmyrcade