scenePath | Scene path (e.g: "Assets/Scenes/Scene1.unity"). |
int Build index.
Get the build index from a scene path.
The build index refers to the index into the list of scenes as specified in the Build Settings window.
Did you find this page useful? Please give it a rating: