Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


loadedLevelName

The name of the level that was last loaded (Read Only).
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Deprecated. Use SceneManager to determine what scenes have been loaded
public static string loadedLevelName { get; }

Remarks

Note that this value is set only by Application.LoadLevel and Application.LoadLevelAsync. The
Additive
versions add content to the current level.