static int SetSpriteColor(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 6);
         WCG.UIMgr obj = (WCG.UIMgr)ToLua.CheckObject <WCG.UIMgr>(L, 1);
         UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckObject(L, 2, typeof(UnityEngine.GameObject));
         float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
         float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
         float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
         float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
         obj.SetSpriteColor(arg0, arg1, arg2, arg3, arg4);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }