Version: 2017.3 (switch to 2017.4)
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

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