ドキュメント

Unity Engine

Unity Engine

LoadLevelAdditive

Loads a level additively.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

LoadLevelAdditive(int)

Loads a level additively.
注意
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.
注意
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).