ドキュメント

Unity Engine

Unity Engine

sceneCount

The current number of Scenes.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static int sceneCount { get; }

Remarks

Returns the current number Scenes. This includes the Scenes that are currently loading or unloading. For the number of currently loaded Scenes see SceneManager.loadedSceneCount.