Пример #1
0
        override public void GenerateTracks()
        {
            int count      = 4 + SegmentManager.random.Next(-1, 2);
            int complexity = 2;

            for (int i = 0; i < count; i++)
            {
                string tag = SegmentManager.GetTagWithComplexity(complexity);
                Global.Instance.segment_manager.SpawnSegment(tag);
            }
        }
Пример #2
0
        override public void GenerateTracks()
        {
            int count      = 3 + Mathf.Clamp((this.number / 10), 0, 3);
            int complexity = 1;

            for (int i = 0; i < count; i++)
            {
                string  tag = SegmentManager.GetTagWithComplexity(complexity);
                Segment seg = Global.Instance.segment_manager.SpawnSegment(tag);
                seg.gold_rich = true;
                seg.ResetSegment();
            }
        }