/// <summary>
        /// Draw the gizmo.  (Only call reference Gizmo-legal methods.)
        /// </summary>
        public override void DrawGizmo()
        {
            if (Next)
            {
                AnnotationUtil.DrawArrowGizmo(transform.position, Next.transform.position
                                              , 0, 0.5f, GizmoColor);
            }

            base.DrawGizmo();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Draw the gizmo.  (Only call from Gizmo-legal methods.)
        /// </summary>
        public override void DrawGizmo()
        {
            foreach (var item in this)
            {
                if (item)
                {
                    AnnotationUtil.DrawArrowGizmo(
                        transform.position, item.transform.position, 0, 0.5f, GizmoColor);
                }
            }

            base.DrawGizmo();
        }