How do I assign certain scripts to certain scenes?

Hello. I was wondering how I can assign certain scripts to certain scenes. I have a registration form and a login form. I want to make it so that when I’m on the registration scene, the registration form plays and when I’m on the login scene, the login form plays. Is there any way to do it without putting them in one script? Thanks!

Maybe I’m missing something here… but 2 scenes, 2 scripts… have one scene use one script and the other scene use the other script…

Could you expand a little on where you’re having the problem?

Yeah. I’m not sure how to assign a script to a scene. Its probably really simple, but I just started using Unity today so I’m sort of new.

You need to add the script to a game object (unless it is an editor script) and that game object will be in your scene. So you can have one script in several scenes or in one scene, depending on the objects that contain your script as a component. You might want to check out the manual on scripting basics.