文档

Unity Engine

Download Unity

Unity Engine

Scene

The loaded scene.
阅读时间1 分钟最后更新于 2 天前

Definition

  • Type: Property
  • Namespace: Unity.Loading
  • Assembly: UnityEngine.ContentLoadModule
public Scene Scene { get; }

Remarks

Pass it to SceneManager.UnloadSceneAsync to unload the scene.