ドキュメント

Unity Engine

Unity Engine

virtualRealitySupported

Enable Virtual Reality support on the current build target.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
注意
Deprecated. This API is obsolete, and should no longer be used. Please use XRManagerSettings in the XR Management package instead.
public static bool virtualRealitySupported { get; set; }

Remarks

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.