Exemplo n.º 1
0
        public void init(Action <int> tick, Action complete, LuaSvrFlag flag = LuaSvrFlag.LSF_BASIC | LuaSvrFlag.LSF_EXTLIB)
        {
            IntPtr L = luaState.L;

            LuaObject.init(L);
            luaState.lgo.StartCoroutine(doBind(L, tick, () =>
            {
                doinit(luaState, flag);
                complete();
                luaState.checkTop();
            }));
        }