http://answers.unity3d.com/questions/139598/setting-variable-as-type-quotscenequot.html
Make a Scene variable
When you are making scripts that are going to be used in more than one object, it is a wise idea to make a variable. The problem is that in Unity you can't refer to a scene by simply typing "scene".
This means that i can't do a variable to hold a scene:
var ScenetoLoad : Scene
The only way to reference a scene is by using it's name OR the number it occupy in the build list. BUT i am making a quick horror game and i WILL HAVE A SERIOUS PROBLEM with loading the game, because i really wanted to make something like resident evil's doors. But i can't do it without having a headache because i would need a separate folder just for the load scripts, as i need to make lots of the same just because of this.
So, is there a way around? Just asking.
Follow this Question
Related Questions
Reading from file (C#) + Information from scene to scene (C#) 0 Answers
How to update variable based on scene 0 Answers
Why is my scene variable losing its value? 0 Answers
random loss of component variable value 2 Answers
Access scripts on Awake or Start? 1 Answer