GetScenePathByBuildIndex(int)
Get the Scene path from a build index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.SceneManagement
- Assembly: UnityEngine.CoreModule
public static string GetScenePathByBuildIndex(int buildIndex)
Parameters
Returns
Type | Description |
|---|---|
| string | Scene path (e.g "Assets/Scenes/Scene1.unity"). |
Remarks
The build index refers to the index into the list of Scenes as specified in the Build Settings window.