Is there a way to use scene names instead of index numbers to handle scene changes? Adding a title screen to my project threw the scene changing logic off throughout the project (including the loading screen.) I can foresee this becoming a bigger issue as the project grows larger.
Thanks!
Ben
Comments
but...
And now that is for Chris
On Unity games it's useful to use a enum for the scenes->build nº to ref them by "name" when scene loading. Maybe here the scenes(rooms) added to the build should be managed by AC, adding and removing them to the build settings and retrieving back the assigned number (or assigning it yourself, it's just an array), so it can keeps a string enum instead of the scene number.
You can use EditorBuildSettings to add via script scene files to the build settings. An example here:
http://forum.unity3d.com/threads/how-to-add-scenes-in-build-with-script-with-editorbuildsettings-scenes.116210/
Hope it helps