Unfortunately, we can’t offer ready-made solutions outside of Unity yet. 
To work with the depth map, study the documentation on DepthSensor.
There is also an example that can help you, implementing a system “click” and positioning the cursor to interact with the UI like a normal mouse: