文档

Unity Engine

Unity Engine

SetVirtualRealitySupported(BuildTargetGroup, bool)

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

Definition

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

Parameters

targetGroup

The BuildTargetGroup to set the value for.

value

The value to set, true to enable, false to disable.