Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
ClosescenePath | Path of the scene. Should be relative to the project folder. Like: "Assets/MyScenes/MyScene.unity". |
Scene A reference to the scene, if valid. If not, an invalid scene is returned.
Searches all scenes added to the SceneManager for a scene that has the given asset path.