I have a menu in my game and when it opens I want to disable the camera and movement scripts attached to the player so when I open the menu you are unable to move or control the camera until I close the menu. Is there a single piece of code to disable a script?

http://unity3d.com/support/documentation/ScriptReference/Behaviour-enabled.html?from=MonoBehaviour