Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlayerSettings.GetAvailableVirtualRealitySDKs

Switch to Manual
public static string[] GetAvailableVirtualRealitySDKs(BuildTargetGroup targetGroup);

Parameters

targetGroupThe BuildTargetGroup to return the list for.

Returns

string[] List of available Virtual Reality SDKs.

Description

Returns a list of the available Virtual Reality SDKs that are supported on a given BuildTargetGroup.

The strings in this list can be passed to the SetVirtualRealitySDKs method to set which SDKs the application will support.

Did you find this page useful? Please give it a rating: