Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

PlayerSettings.XboxOne.GetCapability

Switch to Manual
public static function GetCapability(capability: string): bool;

Parameters

Description

Returns a bool indicating if the given capability is enabled or not. Please see the XDK whitepaper titled "Xbox One Submission Validator" for valid capability names.