SceneManager.sceneCount

public static int sceneCount;

Description 描述

The total number of currently loaded Scenes.

The number of currently loaded Scenes will be returned.