Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseEnable virtual reality support.
When enabled, the virtual reality module is used if possible. This causes a reload of graphics resources. Extra VR specific dependencies are included in platform builds which support VR.
Application.runInBackground is forced to true for all devices except VRDeviceType.None.