Making a global gameobject reference

How could i make a global variable that contains a gameobject reference ? I wish for exemple to make a c# file that contains for exemple a global gameobject variable that points to the camera, one for the player and one for a prefab.

I know how to make a gameobject variable, and I can then drag the object or the prefab in the slot outside of the editor to reference it, however as soon as I add the static keyword to make my variable global, the slot disappears and I cannot assign the gameobject to the variable anymore

Thanks for your time
Tabc3dd

Well you cant assign an object to the variable anymore, but what you can do is make a script, with a variable setObjectPoint of type object.
Then what you do you set your global variable equal to your setObjectPoint variable. and assign that script to a gamecontroller or something :).
I cant really make a code for it since im using unityscript.