
Lua与unity
小猴子的程序员
记录代码的点点滴滴
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UnityLua开发之Lua访问C#(五)
该代码是基于XLua,XLua插件下载链接:https://github.com/Tencent/xLua代码如下:using System.Collections; using System.Collections.Generic; using UnityEngine; using XLua; public class LuaCallCSharp : MonoBehaviour { ...原创 2018-03-06 23:21:14 · 392 阅读 · 0 评论 -
Unity中C#访问lua(四)
该代码是基于XLua,XLua插件下载链接:https://github.com/Tencent/xLua代码如下:using System.Collections; using System.Collections.Generic; using UnityEngine; using XLua; using System; public class CSharpCallLua : MonoBeh...原创 2018-03-06 23:19:43 · 533 阅读 · 0 评论 -
Unity使用C#自定义loader
该代码是基于XLua,XLua插件下载链接:https://github.com/Tencent/xLua代码如下:using System.Collections; using System.Collections.Generic; using UnityEngine; using XLua; public class CreateLoader : MonoBehaviour { p...原创 2018-03-06 23:17:38 · 640 阅读 · 0 评论 -
Unity使用C#通过自定义Loader加载指定目录的Lua脚本
该代码是基于XLua,XLua插件下载链接:https://github.com/Tencent/xLua代码如下:using System.Collections; using System.Collections.Generic; using UnityEngine; using XLua; public class CreateLoader : MonoBehaviour { p...原创 2018-03-06 23:16:38 · 931 阅读 · 0 评论 -
Unity中XLua开发之使用C#加载lua脚本
该代码是基于XLua,XLua插件下载链接:https://github.com/Tencent/xLua代码如下:using System.Collections; using System.Collections.Generic; using UnityEngine; using XLua; public class MyHelloWorld : MonoBehaviour { p...原创 2018-03-06 23:14:24 · 1324 阅读 · 0 评论