Ejemplo n.º 1
0
    public void EnteredNewRoad()
    {
        // Add a new road to the processing pipeline
        roadGenerator.GenerateNextRoad();
        RoadSegment newRoad = roadGenerator.currentRoads[RoadsAdded++].GetComponent <RoadSegment>();

        UnprossedRoads.Enqueue(newRoad);
    }