public home(Game Game) { game = Game; menu = new mainmenu(game, mainmenu.context.menu); }
// Use this for initialization void Start() { p001 = GameObject.Find("Main Camera").GetComponent <player> (); gui = GameObject.Find("Main Camera").GetComponent <mainmenu> (); }