/*--------------------------------------------------------------------------------------------*/
        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 UpdateSelect(Color pColor, float pAmount)
        {
            Select.SetActive(pAmount > 0 && pColor.a > 0);

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

            if (isNewAmount)
            {
                UpdateMesh(MeshType.Select, SelectMeshBuilder, pAmount);
                vPrevSelAmount = pAmount;
            }

            if (pColor != SelectColor || isNewAmount)
            {
                SelectMeshBuilder.CommitColors(pColor);
            }

            SelectColor = pColor;
        }