The way I code now is just make a difference script for each different thing I want to happen. How could I know when to keep everything together in one script without interfering with other blocks of code? This is just a relative question. Thanks.
When I make a script, the contents are usually all some how involved with the name of the script.
If the script was named CameraScript, the only code would involve getting the camera and manipulating it.
Is the code related somehow? Would it work in that script? Is there a main script? If so is it actually a main part? Just ask yourself simple questions like these!