摘要: Unity2017,想在编辑器自己实现一个类似TreeView的东西 public void OnGUI(Rect rect) { // ... for (int i = 0; i < 100; i++) { int row = Mathf.FloorToInt(i / visibleColumns 阅读全文
posted @ 2021-09-10 17:30 lunoctis 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 适用于自定义编译平台和编译符合,把C#源码文件编译成dll。(用于InjectFix之类的热更方案) 适用于unity2017环境,代码暂时不方便贴出记述一下思路。 参考:Unity官方C#源码 https://github.com/Unity-Technologies/UnityCsReferen 阅读全文
posted @ 2021-09-10 09:54 lunoctis 阅读(229) 评论(0) 推荐(0) 编辑