static public int SetArea(IntPtr l)
{
try {
int argc = LuaDLL.lua_gettop(l);
if (argc == 2)
{
FairyGUI.Utils.HtmlLink self = (FairyGUI.Utils.HtmlLink)checkSelf(l);
UnityEngine.Rect a1;
checkValueType(l, 2, out a1);
self.SetArea(a1);
pushValue(l, true);
return(1);
}
else if (argc == 3)
{
FairyGUI.Utils.HtmlLink self = (FairyGUI.Utils.HtmlLink)checkSelf(l);
UnityEngine.Rect a1;
checkValueType(l, 2, out a1);
UnityEngine.Rect a2;
checkValueType(l, 3, out a2);
self.SetArea(a1, a2);
pushValue(l, true);
return(1);
}
else if (argc == 4)
{
FairyGUI.Utils.HtmlLink self = (FairyGUI.Utils.HtmlLink)checkSelf(l);
UnityEngine.Rect a1;
checkValueType(l, 2, out a1);
UnityEngine.Rect a2;
checkValueType(l, 3, out a2);
UnityEngine.Rect a3;
checkValueType(l, 4, out a3);
self.SetArea(a1, a2, a3);
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));
}
}