This version of Unity is unsupported.
Method group is Obsolete

PlayerSettings.GetVirtualRealitySupported

Switch to Manual
Obsolete This API is obsolete, and should no longer be used. Please use XRManagerSettings in the XR Management package instead.

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.