xLua https://github.com/Tencent/xLua
文档 https://tencent.github.io/xLua/public/v1/guide/index.html
using UnityEngine; using XLua; public class HelloWorld : MonoBehaviour { void Start() { LuaEnv luaenv = new LuaEnv(); luaenv.DoString("CS.UnityEngine.Debug.Log(\"Hello world\")"); luaenv.Dispose(); } }HelloWorld