예제 #1
0
    public GameObject generateSegment(SegmentType segmentType)
    {
        PatternType patternType = TrackGenerationUtility.randomizePatternType();

        GameObject segment = resourcesFactory.cloneSegmentHolder();

        segmentSequenceGenerator.generateTrack(segmentType);

        return(segment);
    }