"Shared" variables

I come from a java background and I am looking for a ‘static’ equivalent (e.g. a boolean called gameOver that I can access from all scripts). How am I supposed to do that?

uhm use “static” ?

Like this

//C#
public static bool gameOver;

//UnityScript
static var gameOver : Boolean;