Tencent/xLua: xLua is a lua programming solution for C# ( Unity, .Net, Mono) , it supports android, ios, windows, linux, osx, etc. (github.com)https://github.com/Tencent/xLua/tree/master首先下载xLua, 将XLua文件夹下的所有文件复制到Unity项目Assets中 然后将XLua文件下的Tools复制到unity项目跟目录中 xLua如何访问私有成员变量 xLua.private_accessible(CS.Gun)