static public int SetImageBackGround(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 2)
         {
             Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
             UnityEngine.Sprite   a1;
             checkType(l, 2, out a1);
             self.SetImageBackGround(a1);
             pushValue(l, true);
             return(1);
         }
         else if (argc == 3)
         {
             Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
             System.String        a1;
             checkType(l, 2, out a1);
             UnityEngine.Sprite a2;
             checkType(l, 3, out a2);
             self.SetImageBackGround(a1, a2);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int SetButtonColor(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(UnityEngine.GameObject), typeof(UnityEngine.Color)))
         {
             Core.Lua.LuaUIWindow   self = (Core.Lua.LuaUIWindow)checkSelf(l);
             UnityEngine.GameObject a1;
             checkType(l, 2, out a1);
             UnityEngine.Color a2;
             checkType(l, 3, out a2);
             self.SetButtonColor(a1, a2);
             pushValue(l, true);
             return(1);
         }
         else if (matchType(l, argc, 2, typeof(string), typeof(UnityEngine.Color)))
         {
             Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
             System.String        a1;
             checkType(l, 2, out a1);
             UnityEngine.Color a2;
             checkType(l, 3, out a2);
             self.SetButtonColor(a1, a2);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int OnHide(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         self.OnHide();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int get_SelfTable(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.SelfTable);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int RegisterWindowElemEvent(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         self.RegisterWindowElemEvent();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int constructor(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow o;
         o = new Core.Lua.LuaUIWindow();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_UIName(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         string v;
         checkType(l, 2, out v);
         self.UIName = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int OnEndDrag(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         UnityEngine.EventSystems.PointerEventData a1;
         checkType(l, 2, out a1);
         self.OnEndDrag(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int OnButtonClick(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         System.String        a1;
         checkType(l, 2, out a1);
         self.OnButtonClick(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int GetButtonColor(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow   self = (Core.Lua.LuaUIWindow)checkSelf(l);
         UnityEngine.GameObject a1;
         checkType(l, 2, out a1);
         var ret = self.GetButtonColor(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int GetText(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         System.String        a1;
         checkType(l, 2, out a1);
         var ret = self.GetText(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int SetButtonEnable(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         System.String        a1;
         checkType(l, 2, out a1);
         System.Boolean a2;
         checkType(l, 3, out a2);
         self.SetButtonEnable(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int SetElemScale(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow   self = (Core.Lua.LuaUIWindow)checkSelf(l);
         UnityEngine.GameObject a1;
         checkType(l, 2, out a1);
         System.Single a2;
         checkType(l, 3, out a2);
         self.SetElemScale(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int SetTextColor(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         System.String        a1;
         checkType(l, 2, out a1);
         UnityEngine.Color a2;
         checkType(l, 3, out a2);
         self.SetTextColor(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int RegisterButtonClickEvent(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         System.String        a1;
         checkType(l, 2, out a1);
         UnityEngine.UI.Button a2;
         checkType(l, 3, out a2);
         self.RegisterButtonClickEvent(a1, a2);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int CallLuaFunction(IntPtr l)
 {
     try {
         Core.Lua.LuaUIWindow self = (Core.Lua.LuaUIWindow)checkSelf(l);
         System.String        a1;
         checkType(l, 2, out a1);
         System.Object[] a2;
         checkParams(l, 3, out a2);
         var ret = self.CallLuaFunction(a1, a2);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }