Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

VRSettings.enabled

public static bool enabled;

Description

Globally enables or disables VR for the application.

When enabled, VR mode will be activated if a supported Head Mounted Display (HMD) is connected.