Script for Individual Scene

Hello, I am still quite new to Unity, and I couldn’t find anything on this topic. I’m wondering if there’s a way to make a script individual for a scene instead of applying itself to the whole entire project. I’m coding in C#, as well. Would I just do something like void Scene1 () or is there another way you can do this?

Thanks for all the help, guys!

Unless you are using the DontDestroyOnLoad option, scripts are bound to GObjs which are already per-scene.

You could also always hard-code something like

if(applicationLevel == "myUnwantedLevel") 
return;

Edit: I’ll add “or are static” or “has non-standard Inheritance” and … meh, none of that’s relevant here for basic script on GObj question.