SceneUtility.GetScenePathByBuildIndex

Cambiar al Manual
public static string GetScenePathByBuildIndex (int buildIndex);

Valor de retorno

string Scene path (e.g "Assets/Scenes/Scene1.unity").

Descripción

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.