Class SceneUtility
Inherited Members
Namespace: UnityEngine.SceneManagement
Assembly: UnityEngine.dll
Syntax
public static class SceneUtility
Methods
GetBuildIndexByScenePath(String)
Declaration
public static int GetBuildIndexByScenePath(string scenePath)
Parameters
Type | Name | Description |
---|---|---|
String | scenePath |
Returns
Type | Description |
---|---|
Int32 |
GetScenePathByBuildIndex(Int32)
Declaration
public static string GetScenePathByBuildIndex(int buildIndex)
Parameters
Type | Name | Description |
---|---|---|
Int32 | buildIndex |
Returns
Type | Description |
---|---|
String |