语言English
  • C#

SceneManager.sceneCount

public static int sceneCount;

描述

当前场景的数量。

返回当前场景的数量。这包括当前正在加载或卸载的场景。有关当前已加载场景的数量,请参阅 SceneManager.loadedSceneCount


Did you find this page useful? Please give it a rating: