Skip to content

Loads a specified scene when the play button is pressed rather than the currently active scene

Notifications You must be signed in to change notification settings

Comp3interactive/DefaultSceneLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Default Scene Loader

This little utility provides the user with the ability to select a default loading scene whenever the play button is pressed. Perfect for games with preloader scenes that are required to run before launching the actual game.

Setup Instructions
  • Insert the contents of the Default Scene Loader folder into your project's Editor folder
  • Navigate to your Toolbar at the top of the Unity Editor and select Comp-3 Utils > Default Scene Loader Settings
  • Here are a few customisation settings:
    • Scene Loader Active - This is whether or not the module will run when pressing the play button. If left unchecked then the editor will run as normal. Checking this box will force the editor to load the specified scene using it's index whenever the play button is pressed. Default scene index is 0.
    • Auto Save On Play - This will bypass the "Would you like to save open scenes" prompt which is displayed when swapping scenes from a dirty scene. Left unchecked, the user will be prompted to save the open scene(s) or not.
    • Default Scene Index - Self-explanitory really, this is the scene index of the scene you wish to load whenever the play button is pressed.

Hope this comes in handy for you guys!

About

Loads a specified scene when the play button is pressed rather than the currently active scene

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages