Version: 2017.1

PlayerSettings.virtualRealitySupported

切换到手册
public static bool virtualRealitySupported ;

描述

Enable 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.