示例#1
0
        public override List<UIMarker> GetUiMarkers()
        {
            if (link == null) { return null; }

            MarkerCircle t1 = new MarkerCircle(target, target_ok_distance, new Color(0.2f, 0.4f, 1.0f) );
            t1.dashing = ArtPrimitive.CircleDashing.Moderate;

            MarkerPoint t0 = new MarkerPoint( link.pos, 10, Color.Transparent);
            t0.line_join_radius = 50;
            
            MarkerLine target1 = new MarkerLine(t0, t1);
            target1.line_color *= 0.7f;
            

            List<UIMarker> markers = new List<UIMarker>();
            markers.Add(target1);
            
            return markers;
        }
示例#2
0
        public override List<UIMarker> GetUiMarkers()
        {
            if (link == null) { return null; }

            MarkerPoly t_target = new MarkerPoly(target.pos, 30, Color.Red, MarkerPoly.Type.Quad, true);
            t_target.dashing = ArtPrimitive.ShapeDashing.One;

            MarkerPoint t0 = new MarkerPoint(link.pos, 10, Color.Transparent);
            t0.line_join_radius = 50;

            MarkerPoint t_pos = new MarkerPoint(target_pos, 4, new Color(0.2f, 0.4f, 1.0f));
            

            MarkerLine target1 = new MarkerLine(t0, t_target);
            target1.line_color *= 0.7f;

            MarkerLine target2 = new MarkerLine(t0, t_pos);
            target1.line_color *= 0.7f;
            
            List<UIMarker> markers = new List<UIMarker>();
            markers.Add(target1);
            markers.Add(target2);

            return markers;
        }