Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Any idea to create a button which is not deform by the Cardboard camera on Android

$
0
0
Hi everyone !

I developed a VR game with Google's Cardboard for the Nexus 6, and I need to create an UI button for purpose to toggle VR mode, enable/disable, draw over the Camera Cardboard. I successed in the editor with this script but not on the Android device:
Code (CSharp):
  1.  
  2. //put this in the OnGUI() function
  3. if (Event.current.type.Equals (EventType.Repaint) && (SceneManager.GetActiveScene().name != "01.ScreenOrientation" && SceneManager.GetActiveScene().name !=...
Any idea to create a button which is not deform by the Cardboard camera on Android

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>