ScriptReference/SceneManagement.SceneUtility.GetScenePathByBuildIndex #660
Replies: 1 comment
-
Note that this method will return an incorrect path if used in the editor, and you have disabled scenes in the build settings above the scene you want to get. Here is a method that correctly gets the scene name by build index (editor only, tested in 2020.3.48f):
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/SceneManagement.SceneUtility.GetScenePathByBuildIndex
https://docs.unity3d.com/ScriptReference/SceneManagement.SceneUtility.GetScenePathByBuildIndex.html
Beta Was this translation helpful? Give feedback.
All reactions