Skip to content

Useful code snippets

Jack Brookes edited this page Sep 14, 2019 ยท 3 revisions

SteamVR

  • Show a GameObject (e.g. warning message) when game is not focused (i.e. the Oculus or SteamVR button has been pressed): Link to Gist

VR

  • Adjust height of a GameObject, and/or re-center your VR CameraRig with a keyboard press. Link to Gist

Feel free to submit your own by editing this document

๐Ÿง  Core topics

โ“ More help


๐Ÿ‘ฉโ€๐Ÿ’ป Programming reference

Unit tests

Clone this wiki locally