private void GenerateAndSaveTexture(string path)
	{
		if(string.IsNullOrEmpty(path))
			return;

		TCP2_GradientManager.SaveGradientTexture(mGradient, textureWidth, path);
	}
        private void GenerateAndSaveTexture(string path, bool is2dRamp)
        {
            if (string.IsNullOrEmpty(path))
            {
                return;
            }

            if (is2dRamp)
            {
                TCP2_GradientManager.SaveGradientTexture2D(m2dGradients, textureWidth, textureHeight, path);
            }
            else
            {
                TCP2_GradientManager.SaveGradientTexture(mGradient, textureWidth, path);
            }
        }