UnLua支持TFunction

# 需求 在c++使用TFunction接受Lua传过来的闭包函数,调用后调用Lua函数,并能正确的获得返回。 # 扩展 ## Get ``` c++ //yao template FORCEINLINE TFunction Get(lua_State* L, int32 Index, TType>

posted on 2022-10-09 16:12  marcher  阅读(108)  评论(0编辑  收藏  举报

导航