void Start() { inst = this; // Create an empty map. map = new Map(WorldGenerator.WORLD_SIZE); // Generate the world. GetComponent <WorldGenerator> ().GenerateWorld(); // Genearte the resource system visuals and building visuals. UIController.inst.SetupVisuals(); // Start with some grain. rs.Add("grain", STARTING_GRAIN); rs.Add("harvest-god", 50); rs.Add("food-god", 50); }