其他分享
首页 > 其他分享> > xLua 学习

xLua 学习

作者:互联网

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

 

标签:UnityEngine,xLua,学习,luaenv,https,HelloWorld,public
来源: https://www.cnblogs.com/revoid/p/11280348.html