文档

Unity Engine

Unity Engine

loadedLevel

Note: This is now obsolete. Use SceneManager.GetActiveScene instead. (Read Only).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
警告
Deprecated. Use SceneManager to determine what scenes have been loaded
public static int loadedLevel { get; }