lua 根据函数名字符串来执行函数
时间:2014-05-09 04:18:05
收藏:0
阅读:1155
function myfunction(msg) print("this is msg fun " .. msg); end local fun =_G["myfunction"]; if fun then fun("is ok"); end
评论(0)