摘要:using UnityEngine; using System.Collections; using UnityEngine.EventSystems; using UnityEngine.Events; public class RepeatButton : MonoBehaviour, IPoi
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class ChangeMat : MonoBehaviour { [MenuItem("
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; public class ModelMouseCtrl : MonoBehaviour { public Transform m_curSho
阅读全文
摘要:先在场景中挂载脚本,加载自定义Loader using System.Collections; using System.Collections.Generic; using UnityEngine; using XLua; using System.IO; using UnityEngine.Ne
阅读全文
摘要:在xLua加自定义loader是很简单的,只涉及到一个接口: public delegate byte[] CustomLoader(ref string filepath); public void LuaEnv.AddLoader(CustomLoader loader) 通过AddLoader
阅读全文
摘要:1.新建工程,xlua文件夹与Plugins文件夹放入assets,tools放assets同级目录 2.添加宏:HOTFIX_ENABLE 3.D:\WorkSoft\unity2017.2.0\Editor\Data\Managed 3个文件Unity.Cecil.dll,Unity.Cecil
阅读全文
摘要:using UnityEngine; using System.Linq; using System; using System.Text; using System.Collections; using System.Collections.Generic; public class CSV {
阅读全文