随笔分类 -  U3D

摘要:仅记录本人的心得,不是正常阅读(待有时间再整理) Properties _MainTex ("Flow Texture", 2D) = "white" {} 如果是Image,那这个纹理默认会从image的纹理属性里过来。 Subshader Tags RenderType: Opaque // 不 阅读全文
posted @ 2026-01-13 09:10 stweily 阅读(7) 评论(0) 推荐(0)
摘要:先看脚本 IEnumerator YeildMethod() { yield return new WaitForSeconds(2f); Debug.Log("2秒到了"); while (true) { yield return new WaitUntil(() => Input.GetKeyD 阅读全文
posted @ 2026-01-05 15:32 stweily 阅读(10) 评论(0) 推荐(0)
摘要:国内默认当然不可以下载Unity6,所以合理科!上网,比如我的 所以需要代理的方式 启动下载最新的 新建.bat,内容填写下面 set HTTP_PROXY=http://127.0.0.1:7890 set HTTPS_PROXY=http://127.0.0.1:7890 start "" "C 阅读全文
posted @ 2025-12-30 14:22 stweily 阅读(83) 评论(0) 推荐(0)
摘要:https://zhuanlan.zhihu.com/p/78706246 阅读全文
posted @ 2025-12-13 11:51 stweily 阅读(11) 评论(0) 推荐(0)
摘要:事情是这样的:业务逻辑中有大量选择顶,使用Toggle来做功能的选择,在多级目录功能下展开项时经常会碰到展开页中子内容默认首页功能。同时下次再次展开时清除上次的记录且打开首页 核心:内容默认首页 +时清除上次的选择记录 如是我增加了三个组件 1 ToggleRestore挂在ToggleGroup中 阅读全文
posted @ 2021-10-18 22:25 stweily 阅读(462) 评论(0) 推荐(0)