static int set_Cube(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BoxScrollObject obj = (BoxScrollObject)o; UnityEngine.Bounds arg0 = ToLua.ToBounds(L, 2); obj.Cube = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index Cube on a nil value" : e.Message)); } }
static int get_bounds(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BoxScrollObject obj = (BoxScrollObject)o; UnityEngine.Bounds ret = obj.bounds; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index bounds on a nil value" : e.Message)); } }