摘要:
推荐: https://www.cnblogs.com/nanwei/p/7277417.html 上面链接作者的整个系列都写的不错 https://www.cnblogs.com/nanwei/category/1025420.html 【Unity Shader】 数据类型和关键字 一、基本数据 阅读全文
摘要:
效果: c# shader 使用image effect模板 噪点图 注意:需要将噪点图的warp mode设置为repeat ,否则就是一闪而过的波动 阅读全文
摘要:
介绍一个代码命名搜索神器https://unbug.github.io/codelf/https://github.com/unbug/codelf rider添加教程:https://www.jianshu.com/p/f578791b0f2d 阅读全文
摘要:
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) 阅读全文
摘要:
span 可用于高性能字符串分割等 https://www.cnblogs.com/lonelyxmas/p/10171869.html https://www.codemag.com/article/1807051/Introducing-.NET-Core-2.1-Flagship-Types- 阅读全文
摘要:
需要在粒子上挂脚本 脚本添加代码 这是个生命周期 粒子的 StopAction 设置成Callback 最好再加上 阅读全文
摘要:
2d来回巡逻 遇到坑会自动转向 可配置单次方向行走的时间,转向等待时间等 阅读全文
摘要:
碰撞发生在帧的开始,所以你可以检测到冲突,并在LateUpdate复位: 阅读全文
摘要:
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class ClickTest : MonoBehaviour { // Use this for initialization void S... 阅读全文