scene variable

I’m trying to figure out how to load a scene from a script using Applications.LoadLevel("level"); but I want to make a public variable so as a designer I can choose which level I want loaded. Is there another way besides using a public string which could be prone to typos?

Use the level number instead of the name, and use an enum so it’s shown as a list of names that you can pick from.

–Eric