Inheritance: UnityEngine.UI.BaseMeshEffect
    static int ModifyMesh(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(UITextGradient), typeof(UnityEngine.Mesh)))
            {
                UITextGradient   obj  = (UITextGradient)ToLua.ToObject(L, 1);
                UnityEngine.Mesh arg0 = (UnityEngine.Mesh)ToLua.ToObject(L, 2);
                obj.ModifyMesh(arg0);
                return(0);
            }
            else if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(UITextGradient), typeof(UnityEngine.UI.VertexHelper)))
            {
                UITextGradient obj = (UITextGradient)ToLua.ToObject(L, 1);
                UnityEngine.UI.VertexHelper arg0 = (UnityEngine.UI.VertexHelper)ToLua.ToObject(L, 2);
                obj.ModifyMesh(arg0);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: UITextGradient.ModifyMesh"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
 static int ModifyVertices(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UITextGradient obj = (UITextGradient)ToLua.CheckObject(L, 1, typeof(UITextGradient));
         System.Collections.Generic.List <UnityEngine.UIVertex> arg0 = (System.Collections.Generic.List <UnityEngine.UIVertex>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <UnityEngine.UIVertex>));
         obj.ModifyVertices(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int set_bottomColor(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UITextGradient    obj  = (UITextGradient)o;
            UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
            obj.bottomColor = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index bottomColor on a nil value" : e.Message));
        }
    }
    static int get_topColor(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UITextGradient    obj = (UITextGradient)o;
            UnityEngine.Color ret = obj.topColor;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index topColor on a nil value" : e.Message));
        }
    }