上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 42 下一页
摘要: 整理了下以前写的 阅读全文
posted @ 2019-10-05 12:44 三页菌 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 效果: c# shader 使用image effect模板 噪点图 注意:需要将噪点图的warp mode设置为repeat ,否则就是一闪而过的波动 阅读全文
posted @ 2019-09-27 23:46 三页菌 阅读(2622) 评论(1) 推荐(1) 编辑
摘要: 介绍一个代码命名搜索神器https://unbug.github.io/codelf/https://github.com/unbug/codelf rider添加教程:https://www.jianshu.com/p/f578791b0f2d 阅读全文
posted @ 2019-09-27 13:42 三页菌 阅读(415) 评论(0) 推荐(0) 编辑
摘要: local _t = {} _t.name = "Li" _t.age = 49 local str = string.gsub("hahah [name] [age]--xrz-", "[%[](.-)[%]]", function(s) return tostring(_t[s]) end) print(str) 阅读全文
posted @ 2019-09-26 11:49 三页菌 阅读(2123) 评论(0) 推荐(0) 编辑
摘要: span 可用于高性能字符串分割等 https://www.cnblogs.com/lonelyxmas/p/10171869.html https://www.codemag.com/article/1807051/Introducing-.NET-Core-2.1-Flagship-Types- 阅读全文
posted @ 2019-09-10 20:44 三页菌 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 需要在粒子上挂脚本 脚本添加代码 这是个生命周期 粒子的 StopAction 设置成Callback 最好再加上 阅读全文
posted @ 2019-09-09 16:02 三页菌 阅读(4275) 评论(0) 推荐(0) 编辑
摘要: 2d来回巡逻 遇到坑会自动转向 可配置单次方向行走的时间,转向等待时间等 阅读全文
posted @ 2019-09-01 15:27 三页菌 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 碰撞发生在帧的开始,所以你可以检测到冲突,并在LateUpdate复位: 阅读全文
posted @ 2019-08-31 14:48 三页菌 阅读(1195) 评论(0) 推荐(0) 编辑
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class ClickTest : MonoBehaviour { // Use this for initialization void S... 阅读全文
posted @ 2019-08-19 13:19 三页菌 阅读(311) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/mrma/p/3998679.html 试了,确实可行,在unity也能用 值得注意的是UnityScript.Scripting.Evaluator 也有这个类,应该可以实现类似的功能,具体用法未研究 阅读全文
posted @ 2019-08-18 16:46 三页菌 阅读(244) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 42 下一页