static int GetBoundsLocal(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { UnityEngine.GridLayout obj = (UnityEngine.GridLayout)ToLua.CheckObject <UnityEngine.GridLayout>(L, 1); UnityEngine.Vector3Int arg0 = StackTraits <UnityEngine.Vector3Int> .Check(L, 2); UnityEngine.Bounds o = obj.GetBoundsLocal(arg0); ToLua.Push(L, o); return(1); } else if (count == 3) { UnityEngine.GridLayout obj = (UnityEngine.GridLayout)ToLua.CheckObject <UnityEngine.GridLayout>(L, 1); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); UnityEngine.Vector3 arg1 = ToLua.ToVector3(L, 3); UnityEngine.Bounds o = obj.GetBoundsLocal(arg0, arg1); ToLua.Push(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.GridLayout.GetBoundsLocal")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetLayoutCellCenter(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.GridLayout obj = (UnityEngine.GridLayout)ToLua.CheckObject <UnityEngine.GridLayout>(L, 1); UnityEngine.Vector3 o = obj.GetLayoutCellCenter(); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int WorldToLocal(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.GridLayout obj = (UnityEngine.GridLayout)ToLua.CheckObject <UnityEngine.GridLayout>(L, 1); UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); UnityEngine.Vector3 o = obj.WorldToLocal(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int CellToLocal(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.GridLayout obj = (UnityEngine.GridLayout)ToLua.CheckObject <UnityEngine.GridLayout>(L, 1); UnityEngine.Vector3Int arg0 = StackTraits <UnityEngine.Vector3Int> .Check(L, 2); UnityEngine.Vector3 o = obj.CellToLocal(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_cellSwizzle(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.GridLayout obj = (UnityEngine.GridLayout)o; UnityEngine.GridLayout.CellSwizzle ret = obj.cellSwizzle; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index cellSwizzle on a nil value")); } }
static int _CreateUnityEngine_GridLayout(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { UnityEngine.GridLayout obj = new UnityEngine.GridLayout(); ToLua.Push(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: UnityEngine.GridLayout.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public virtual void MoveEnd(GridLayout gridLayout, GameObject brushTarget, BoundsInt position) { }
public virtual void Move(GridLayout gridLayout, GameObject brushTarget, BoundsInt from, BoundsInt to) { }
public virtual void Pick(GridLayout gridLayout, GameObject brushTarget, BoundsInt position, Vector3Int pivot) { }
public virtual void FloodFill(GridLayout gridLayout, GameObject brushTarget, Vector3Int position) { }
public virtual void Erase(GridLayout gridLayout, GameObject brushTarget, Vector3Int position) { }