文档

Unity Engine

Unity Engine

GetSceneManagerSetup()

Returns the current setup of the SceneManager.
阅读时间1 分钟最后更新于 2 个月前

Definition

public static SceneSetup[] GetSceneManagerSetup()

Returns

Type

Description

SceneSetup[]An array of SceneSetup classes - one item for each Scene.

Remarks

The returned array contains SceneSetup instances, one for each Scene. These indicate the active state, loaded state, and path of each of the current Scenes in the SceneManager.
Additional Resources: SceneSetup.