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

Switch to Manual
public static function AddAllowedProductId(id: string): bool;

Parameters

Returns

bool Returns false if the product Id was already in the allowed list.

Description

Add a ProductId to the list of products that can load the content package created from your project. This setting is only available for content packages.