public void OnApplyClick()
    {
        m_SelectBrush.ApplyInspectorChange();
        m_Data = Get().Copy() as VCObjectPivotData;

        originValue01 = m_AnlgeSlider.sliderValue;
    }
    public override void Set(VCComponentData data)
    {
        data.Validate();
        m_Data = data.Copy() as VCObjectPivotData;
        m_PositionInput.Vector = m_Data.m_Position;
        m_RotationInput.Vector = m_Data.m_Rotation;
        m_ScaleInput.Vector    = m_Data.m_Scale;

        m_VisibleCheck.isChecked = m_Data.m_Visible;

        m_AnlgeLable.text         = m_Data.m_PivotAng.ToString();
        m_AnlgeSlider.sliderValue = Convert.ToSingle(m_Data.m_PivotAng) / 720 + 0.5f;
    }
    public override VCComponentData Get()
    {
        VCObjectPivotData data = m_Data.Copy() as VCObjectPivotData;

        data.m_Position = m_PositionInput.Vector;
        data.m_Rotation = VCEMath.NormalizeEulerAngle(m_RotationInput.Vector);
        data.m_Scale    = m_ScaleInput.Vector;
        data.m_Visible  = m_VisibleCheck.isChecked;
        int ang = Float01ToIntAngle(m_AnlgeSlider.sliderValue);

        data.m_PivotAng = ang;

        data.Validate();
        m_PositionInput.Vector   = data.m_Position;
        m_RotationInput.Vector   = data.m_Rotation;
        m_ScaleInput.Vector      = data.m_Scale;
        m_VisibleCheck.isChecked = data.m_Visible;
        ang = data.m_PivotAng;
        m_AnlgeLable.text         = ang.ToString();
        m_AnlgeSlider.sliderValue = Convert.ToSingle(ang) / 720 + 0.5f;

        return(data);
    }