// Use this for initialization void Start() { globals = GlobalVar.Instance; globals.MainCam = MainCam; globals.CreateWalls(); }