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.SetPlatformVuforiaEnabled

Switch to Manual
public static void SetPlatformVuforiaEnabled(BuildTargetGroup targetGroup, bool enabled);

Parameters

targetGroupThe BuildTargetGroup you wish to set the value for.
enabledTrue to enable Vuforia AR, false otherwise.

Description

Sets the value of the Vuforia AR checkbox in the Player Settings for the specified buildTargetGroup.

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