This version of Unity is unsupported.
Method group is Obsolete

PlayerSettings.SetVirtualRealitySDKs

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 void SetVirtualRealitySDKs(BuildTargetGroup targetGroup, string[] sdks);

Parameters

targetGroup The BuildTargetGroup to set the SDK list for.
sdks List of Virtual Reality SDKs.

Description

Set the List of Virtual Reality SDKs for a given BuildTargetGroup.

The Player settings Virtual Reality SDK list will be updated to match the list passed to this method.