- Home /
Question by
lnisio · Jun 18, 2019 at 04:43 AM ·
vrscripting beginnernavigation
Cardboard VR app - add touch buttons to send keyboard arrows to scene
Hi guys. I am developing a cardboard VR app using googleVR and i want to create 4 buttons in my scene that would simply send the four arrow keys into the scene. I simply want to send to the scene either the four arrows or WASD and each key to be assigned into a button. I am creating an in world canvas, and adding the buttons, and utilising the Input.GetMouseButtonDown from: https://docs.unity3d.com/ScriptReference/Input.GetMouseButtonDown.html and then i need to send a arrowup or down when clicked. If anyone that could help with the script, i would really appreciate it. Thanks
Comment