Created
September 17, 2015 08:54
-
-
Save unitycoder/ecec1120fd4418e29bfa to your computer and use it in GitHub Desktop.
Unity Toggle Oculus on/off
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine.VR; | |
// toggle oculus on/off | |
VRSettings.enabled = !VRSettings.enabled; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment