SceneUtility.GetScenePathByBuildIndex
public static string GetScenePathByBuildIndex(int buildIndex);
Returns
string Scene path (e.g "Assets/Scenes/Scene1.unity").
Description 描述
Get the Scene path from a build index.
The build index refers to the index into the list of Scenes as specified in the Build Settings window.