static public int Delete(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (argc == 1) { UnityEngine.WSA.Tile self = (UnityEngine.WSA.Tile)checkSelf(l); self.Delete(); pushValue(l, true); return(1); } else if (matchType(l, argc, 2, typeof(UnityEngine.Rect))) { UnityEngine.WSA.Tile self = (UnityEngine.WSA.Tile)checkSelf(l); UnityEngine.Rect a1; checkValueType(l, 2, out a1); self.Delete(a1); pushValue(l, true); return(1); } else if (matchType(l, argc, 2, typeof(UnityEngine.Vector2))) { UnityEngine.WSA.Tile self = (UnityEngine.WSA.Tile)checkSelf(l); UnityEngine.Vector2 a1; checkType(l, 2, out a1); self.Delete(a1); 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)); } }