Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetVirtualRealitySupported(BuildTargetGroup, bool)

Sets whether or not Virtual Reality Support is enabled for a given BuildTargetGroup.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
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.