https://github.com/fables-alive-games/loadfirstsceneonplay
This script ensures that whenever the Play button is pressed in the Unity Editor, the first scene (index 0) in the build settings is automatically loaded, regardless of which scene was active in the editor.
https://github.com/fables-alive-games/loadfirstsceneonplay
unity unity-scripts unity3d
Last synced: about 2 months ago
JSON representation
This script ensures that whenever the Play button is pressed in the Unity Editor, the first scene (index 0) in the build settings is automatically loaded, regardless of which scene was active in the editor.
- Host: GitHub
- URL: https://github.com/fables-alive-games/loadfirstsceneonplay
- Owner: fables-alive-games
- License: unlicense
- Created: 2024-08-08T19:58:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-08T19:59:15.000Z (almost 2 years ago)
- Last Synced: 2025-08-02T12:10:30.172Z (11 months ago)
- Topics: unity, unity-scripts, unity3d
- Language: C#
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LoadFirstSceneOnPlay
This script ensures that whenever the Play button is pressed in the Unity Editor, the first scene (index 0) in the build settings is automatically loaded, regardless of which scene was active in the editor.