Version: 2019.1

PlayerSettings.GetVirtualRealitySupported

Switch to Manual
public static bool GetVirtualRealitySupported (BuildTargetGroup targetGroup);

Parameters

targetGroupThe BuildTargetGroup to return the value for.

Returns

bool True if Virtual Reality Support is enabled.

Description

Returns whether or not Virtual Reality Support is enabled for a given BuildTargetGroup.