Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

PlayerSettings.XboxOne.UpdateAllowedProductId

Switch to Manual
public static function UpdateAllowedProductId(idx: int, id: string): void;

Parameters

Description

Update the value at the given index in the list of products that can load this content package. You can use the PlayerSettings.XboxOne.AllowedProductIds property to get the existing productIds and determine their indexes.