文档

Unity Engine


User Manual

Script Reference

Unity Engine


GetVirtualRealitySupported(BuildTargetGroup)

Returns whether or not Virtual Reality Support is enabled for a given BuildTargetGroup.
阅读时间1 分钟最后更新于 24 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
警告
Deprecated. This API is deprecated and will be removed prior to shipping 2020.2
public static bool GetVirtualRealitySupported(BuildTargetGroup targetGroup)

Parameters

targetGroup

The BuildTargetGroup to return the value for.

Returns

Type

Description

boolTrue if Virtual Reality Support is enabled.