Skip to content

Shows a menu with a button for each scene that is present in the build.

Notifications You must be signed in to change notification settings

PatHightree/SceneMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Scene Menu

Shows a menu with a button for each scene that is present in the build.

#Why Handy for publishing a set of test scenes to a player. Unfortunately the list of scenes in the Build Settings dialog is only available in the editor, not in the player. We get around this by serializing the list of scenes into a scriptable object (Scenes list.asset). This can be read by the menu script at runtime.

#Operation The Scenes list asset needs to be manually updated, this can be done via the Build/Update Scenes List pulldown menu. You can test the working of the menu by adding the yellow scene and updating the scenes list.

#Possible Improvements

  • Automatic updating of Scenes list, for instance in a pre-build callback.

About

Shows a menu with a button for each scene that is present in the build.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages