Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

PlayerSettings.firstStreamedLevelWithResources

static var firstStreamedLevelWithResources: int;
static int firstStreamedLevelWithResources;
static firstStreamedLevelWithResources as int

Description

First level to have access to all Resources.Load assets in Streamed Web Players.

Use this variable to specify the index of the first level that will have access to all Resources.Load assets.