protected static void DrawUnselected(VectorPoints point, int index)
        {
            if (!point.DisplayVector3)
            {
                return;
            }

            Vector3 posInSpline    = point.GetPositionFromPoint(index) + Vector3.down * 0.3f;
            Vector3 localPointData = point.GetPoint(index);
            //Vector3 position = posInSpline + localPosition;
            string positionDisplay = (int)localPointData.x + " : " + (int)localPointData.y + " : " + (int)localPointData.z;

            PointsOnSplineExtensionEditor.DisplayStringInSceneViewFrom3dPosition(posInSpline, positionDisplay, point.ColorWayPoint, 10);
        }
        protected override void DrawInSceneViewSelected(int index)
        {
            Vector3   posInSpline        = _componentTarget.GetPositionFromPoint(index);
            Component componentReference = _componentTarget.GetReference(index);

            if (componentReference == null)
            {
                return;
            }
            Transform reference = componentReference.transform;

            Vector3 posOfReference = reference.position;

            if (!this.GetPropertie("_showTarget").boolValue)
            {
                return;
            }

            float size = HandleUtility.GetHandleSize(posOfReference) * 0.05f;

            if (Handles.Button(posOfReference, Quaternion.identity, size, size, Handles.SphereHandleCap))
            {
                Selection.activeObject = reference.gameObject;
            }


            ExtDrawGuizmos.DrawBezier(posInSpline, posOfReference, _componentTarget.GetRotationFromPoint(index) * Vector3.right, _componentTarget.ColorWayPoint, 0.5f);


            if (this.GetPropertie("_showDistance").boolValue)
            {
                float   distance = Vector3.Distance(posInSpline, reference.position);
                Vector3 positionDistanceLabel = (posInSpline + reference.position) * 0.5f;
                PointsOnSplineExtensionEditor.DisplayStringInSceneViewFrom3dPosition(positionDistanceLabel, distance.ToString(".0"), _componentTarget.ColorWayPoint, 8);
            }

            if (!Event.current.shift && index == _waypointList.index && index != -1 && this.GetPropertie("_showHandleTarget").boolValue)
            {
                ExtHandle.DoHandleMove(reference, true, out bool hasChanged, _target.SplineBase.GridSize);
            }
        }