static int set_xMax(IntPtr L)
{
object o = null;
try
{
o = ToLua.ToObject(L, 1);
UnityEngine.Rect obj = (UnityEngine.Rect)o;
float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
obj.xMax = arg0;
ToLua.SetBack(L, 1, obj);
return 0;
}
catch(Exception e)
{
return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index xMax on a nil value" : e.Message);
}
}