This version of Unity is unsupported.

PlayerSettings.GetVirtualRealitySupported

Switch to Manual

Declaration

public static bool GetVirtualRealitySupported(BuildTargetGroup targetGroup);

Parameters

targetGroup The 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.