/*--------------------------------------------------------------------------------------------*/
        protected void UpdateAfterResize()
        {
            if (Background != null)
            {
                UpdateMesh(MeshType.Background, BackgroundMeshBuilder);
                BackgroundMeshBuilder.CommitColors(BackgroundColor);
            }

            if (Edge != null)
            {
                UpdateMesh(MeshType.Edge, EdgeMeshBuilder);
                EdgeMeshBuilder.CommitColors(EdgeColor);
            }

            if (Highlight != null)
            {
                UpdateMesh(MeshType.Highlight, HighlightMeshBuilder, vPrevHighAmount);
                HighlightMeshBuilder.CommitColors(HighlightColor);
            }

            if (Select != null)
            {
                UpdateMesh(MeshType.Select, SelectMeshBuilder, vPrevSelAmount);
                SelectMeshBuilder.CommitColors(SelectColor);
            }

            UpdateHoverLocalPoints();
        }
        /*--------------------------------------------------------------------------------------------*/
        public virtual void UpdateHighlight(Color pColor, float pAmount)
        {
            Highlight.SetActive(pAmount > 0 && pColor.a > 0);

            bool isNewAmount = (Math.Abs(pAmount - vPrevHighAmount) > 0.005f);

            if (isNewAmount)
            {
                UpdateMesh(MeshType.Highlight, HighlightMeshBuilder, pAmount);
                vPrevHighAmount = pAmount;
            }

            if (pColor != HighlightColor || isNewAmount)
            {
                HighlightMeshBuilder.CommitColors(pColor);
            }

            HighlightColor = pColor;
        }