public void LuaReleaseTable(LuaTable table)
 {
     if (lua != null && Initialized)
     {
         lua.CollectRef(table.GetReference(), table.name);
     }
 }
Exemplo n.º 2
0
        public Bean(Table table)
        {
            luaTable = (LuaTable)LuaGame.it.StrToLuaTable("{}");

            this.reference = luaTable.GetReference();
            this.luaState  = luaTable.GetLuaState();

            this.table = table;
            luaTable ["_tableName"] = table.name;
            _data = new object[table.cols];
        }