上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 48 下一页
摘要: 链接 https://blog.csdn.net/yy763496668/article/details/113778086 阅读全文
posted @ 2021-09-05 19:29 三页菌 阅读(179) 评论(0) 推荐(0)
摘要: 转载自 https://cuihongzhi1991.github.io/blog/2020/05/27/builtinttourp/ 本篇文章转自Teofilo Dutra编写的《From Built-in to URP》,其中有很多在写URP管线Shader时需要用到的函数,作为备忘速查表非常实 阅读全文
posted @ 2021-08-30 10:05 三页菌 阅读(2412) 评论(0) 推荐(0)
摘要: 如果你直接读就会报错 IOException: Sharing violation on path ***** 因为文件已经被占用 所以你需要用 FileShare.ReadWrite 打开它 FileStream stream = File.Open("myfile.xlsx", FileMode 阅读全文
posted @ 2021-08-14 16:19 三页菌 阅读(1148) 评论(0) 推荐(1)
摘要: 文档:https://ecsrx.gitbook.io/project/ github: https://github.com/EcsRx/ecsrx.unity 阅读全文
posted @ 2021-08-01 09:57 三页菌 阅读(166) 评论(0) 推荐(0)
摘要: 属性 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [AttributeUsage(AttributeTargets.Field, Inherited = tr 阅读全文
posted @ 2021-07-10 13:59 三页菌 阅读(177) 评论(0) 推荐(0)
摘要: 需要使用 Unity-ui-extensions 包 使用添加 [ReadOnly]就行 阅读全文
posted @ 2021-06-30 17:58 三页菌 阅读(213) 评论(0) 推荐(0)
摘要: 安装MongoDB(最好装C盘): https://www.runoob.com/mongodb/mongodb-window-install.html 安装可视化软件Robo3T:https://robomongo.org/ 连接MongoDB实例: using System.Collection 阅读全文
posted @ 2021-06-21 15:01 三页菌 阅读(43) 评论(0) 推荐(0)
摘要: Roslyn C# 下载地址:https://files-cdn.cnblogs.com/files/sanyejun/RoslynC_RuntimeCompiler.zip 使用示例 using System.Collections; using System.Collections.Generi 阅读全文
posted @ 2021-06-18 12:29 三页菌 阅读(375) 评论(0) 推荐(0)
摘要: 直接上代码 /// <summary> /// 修复图片导入时白边问题 /// </summary> /// <param name="texture"></param> public static void FixTransparency(this Texture2D texture) { Col 阅读全文
posted @ 2021-06-06 21:57 三页菌 阅读(869) 评论(0) 推荐(0)
摘要: 1.if else 不要超过3个分支 2.switch case 禁用 3.枚举,慎用,如果增加枚举其他地方不修改可使用,否则不能使用 4.if括号内的条件判断,不要超过2个 为什么不要超过2个,超过2个就是3个,5个,10个,上次还见到过一个20个的 这种优化,使用委托即可完成优化,类该拆分的拆分 阅读全文
posted @ 2021-06-06 19:14 三页菌 阅读(82) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 48 下一页