I am trying to test my AR foundation scene in the editor via Unity’s XR simulation environment. I have a script attached to the XR origin that spawns a prefab on top of a plane when the plane is pressed (this logic works on an actual device). The plane detection works in the sim environment, however, nothing happens when I try to mouse click on the plane. How do I simulate a screen touch in the editor in an XR simulation environment?
I created a video explaining about XR Simulation. To test it in the Editor, you will need to use the new input system. And use Pointer as the input.
https://docs.unity3d.com/Packages/com.unity.inputsystem@1.8/manual/Pointers.html
How and where do you set Pointer as input system?
Sorry, this video will explain better for the new input system.
Explanation about Pointer: Pointers | Input System | 1.8.2