Documentation

Unity Engine

Download Unity

Unity Engine

Scene

The loaded scene.
Read time 1 minuteLast updated 2 days ago

Definition

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

Remarks

Pass it to SceneManager.UnloadSceneAsync to unload the scene.