上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 42 下一页
摘要: 1.插件实现 unity商城免费插件DynamicShadowProjector 这种是把物体放在一个框里面,同时要选中物体 2.shadowMap 接收阴影的地面需要指定的shader 物体需要设置Layer为Objects 链接:https://github.com/zpzsoft/Shadow 阅读全文
posted @ 2018-03-24 14:02 三页菌 阅读(269) 评论(0) 推荐(0) 编辑
摘要: //利用 System.Runtime.Serialization序列化与反序列化完成引用对象的复制 IFormatter formatter = new BinaryFormatter(); formatter.Serialize(objectStream, dictionary); object 阅读全文
posted @ 2018-03-22 21:53 三页菌 阅读(261) 评论(0) 推荐(0) 编辑
摘要: http://www.manew.com/thread-114496-1-1.html 谈到目前的代码热更方案:没什么特别的要求 <ignore_js_op> toLua(效率比sLua高) 打算以传统方式更新,热更仅仅用于紧急更新 / 希望战斗等性能敏感部分也能更新 xLua(性能在Lua系列中一 阅读全文
posted @ 2018-03-17 17:41 三页菌 阅读(4341) 评论(0) 推荐(0) 编辑
摘要: str = "testA()"loadstring(str)()function testA() end使用loadstring即可执行后面在xlua用了下发现不能调用loadstring这个函数,听说是因为没有注册这个函数?然后去调用lua虚拟机去调用了 CS.XLuaManager.Instan 阅读全文
posted @ 2018-03-17 09:37 三页菌 阅读(2899) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace 阅读全文
posted @ 2018-03-15 18:43 三页菌 阅读(783) 评论(0) 推荐(0) 编辑
摘要: 【全流程】<按照这个流程做即可,有不懂得可以看下面的2个><这个是<eclipse>> http://blog.csdn.net/qq_15267341/article/details/52074225 【可复制部分代码】 http://blog.csdn.net/weixin_36303734/a 阅读全文
posted @ 2018-03-07 11:45 三页菌 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1.Unity Android 阴影不显示、阴影显示不正确 解决 http://blog.csdn.net/xuetao0605/article/details/50626181 2.阴影强度问题 不靠谱 http://ask.manew.com/question/35908 这个还行 环境色的设置 阅读全文
posted @ 2018-03-07 10:01 三页菌 阅读(128) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/zhaoqingqing/p/4629336.html 写更少代码的需求 当我们重复写一些繁杂的代码,或C#的一些方法,我们就想能不能有更便捷的方法呢?当然在unity中,我们对它进行扩展。 对unity的类或C#的类进行扩展有以下两点要注意: 1、这 阅读全文
posted @ 2018-02-28 20:39 三页菌 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 转载 http://blog.csdn.net/BuladeMian/article/details/70240868 阅读全文
posted @ 2018-02-28 20:11 三页菌 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 相对位置参考 http://blog.csdn.net/sunny__chen/article/details/51323265 自适应屏幕收缩 http://www.360doc.com/content/14/0124/09/12282510_347501909.shtml 一、Label #re 阅读全文
posted @ 2018-02-28 15:12 三页菌 阅读(4789) 评论(1) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 42 下一页