void Start() { // Initialize all static classes here. FX.Initialize(); map = Map.FindMap(); //map.Generate(false); barbarian = FindObjectOfType <Barbarian>(); enemies = map.Enemies(); //GameObject go = MeshGenerator.GenerateCube(1, 1, 1, 3, c1, c2); //GameObject go2 = MeshGenerator.GenerateCube(1, 1, 1, 4, c1, c2); }