Version: 2017.1
Method group is Obsolete

Application.LoadLevelAdditive

매뉴얼로 전환
Obsolete public static void LoadLevelAdditive (int index);
Obsolete public static void LoadLevelAdditive (string name);

설명

Loads a level additively.

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

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { Application.LoadLevel(1); Application.LoadLevelAdditive("MoreStuff"); } }

LoadLevelAdditive adds new objects in the beginning of the next frame at the Inititialization stage prior to the first FixedUpdate call (see Execution Order of Event Functions).

See Also: AsyncOperation, Application.backgroundLoadingPriority, Application.LoadLevelAdditiveAsync, Application.LoadLevel, Application.LoadLevelAsync.