文档

Unity Engine

Unity Engine

GetAllScenePaths()

Return all the names of Scenes in the AssetBundle.
阅读时间1 分钟最后更新于 2 天前

Definition

public string[] GetAllScenePaths()

Returns

Type

Description

string[]

Remarks

Only works for streamed Scene AssetBundles, otherwise an empty string array is returned. The names are the project-relative path of each .unity file, unless a different name was specified at build time.