Skip to content

Useful code snippets

Jack Brookes edited this page Apr 3, 2020 · 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

Others

https://github.com/michidk/Unity-Script-Collection

๐Ÿง  Core topics

โ“ More help


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

Unit tests

Clone this wiki locally