Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LoadLevelAdditive

Loads a level additively.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

LoadLevelAdditive(int)

Loads a level additively.
Warning
Deprecated. Use SceneManager.LoadScene
public static void LoadLevelAdditive(int index)

Parameters

index

Remarks

Unlike Application.LoadLevel, LoadLevelAdditive does not destroy objects in the current level. Objects from the new level are added to the current Scene. This is useful for creating continuous virtual worlds, where more content is loaded in as you walk through the environment.
LoadLevelAdditive adds new objects in the beginning of the next frame at the Inititialization stage prior to the first MonoBehaviour.FixedUpdate() call (refer to Order of execution for event functions).

LoadLevelAdditive(string)

Loads a level additively.
Warning
Deprecated. Use SceneManager.LoadScene
public static void LoadLevelAdditive(string name)

Parameters

name

Remarks

Unlike Application.LoadLevel, LoadLevelAdditive does not destroy objects in the current level. Objects from the new level are added to the current Scene. This is useful for creating continuous virtual worlds, where more content is loaded in as you walk through the environment.
LoadLevelAdditive adds new objects in the beginning of the next frame at the Inititialization stage prior to the first MonoBehaviour.FixedUpdate() call (refer to Order of execution for event functions).