Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetVirtualRealitySupported(BuildTargetGroup)

Returns whether or not Virtual Reality Support is enabled for a given BuildTargetGroup.
Read time 1 minuteLast updated 4 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 bool GetVirtualRealitySupported(BuildTargetGroup targetGroup)

Parameters

targetGroup

The BuildTargetGroup to return the value for.

Returns

Type

Description

boolTrue if Virtual Reality Support is enabled.