Esempio n. 1
0
        public void CreateRoadTo(Junction junc, float width, bool followGround, float subdivDistance, TerrainGen terrain)
        {
            Road road = Road.CreateNew(transform.parent, this, junc, width, followGround, subdivDistance, terrain);

            roads.Add(road);
        }
Esempio n. 2
0
 public void GenerateRoads(BasicTerrainGen gen)
 {
     centralJunction = Junction.CreateNew(transform);
     centralJunction.GenerateRoads(this, gen.centerRoadsCount, gen.minRoadsLength, gen.maxRoadsLength, gen.centerRoadsWidth);
 }