void IRootObject.EndAccess(HWLua parent, int index) => parent.Kernel.LuaRemove(index+1);
int IRootObject.BeginAccess(HWLua parent) { parent.Kernel.LuaNetPushGlobalTable(); return parent.Stack.Count - 1; }
protected NativeStack(HWLua parent) => Parent = parent;