public void SetColorConfig(ColorConfig config)
 {
     StartColor = config.m_StartColor;
     StartColorVariance = config.m_StartColorVariance;
     EndColor = config.m_EndColor;
     EndColorVariance = config.m_EndColorVariance;
 }
        public ColorConfig GetColorConfig()
        {
            ColorConfig config = new ColorConfig();
            config.m_StartColor = m_StartColor.toColor();
            config.m_StartColorVariance = m_StartColorVariance.toColor();
            config.m_EndColor = m_EndColor.toColor();
            config.m_EndColorVariance = m_EndColorVariance.toColor();

            return config;
        }