Version: 2019.2
public static bool virtualRealitySupported ;

説明

Enable Virtual Reality support on the current build target.

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 supporting VR.