2022年4月12日

关于动画融合

摘要: StateMachineBehaviour中OnStateEnter在融合开始时调用,OnStateExit在融合结束时调用 例子 State A: stand State B: walk, A->B 融合0.1s 融合开始前,现在处于A,则Animator.GetCurrentAnimatorCl 阅读全文

posted @ 2022-04-12 16:29 littleLong 阅读(194) 评论(0) 推荐(0)

2021年7月13日

纹理采样使用Tiling和Offset时需要注意Texture Type

摘要: 当Tiling和Offset不为0时,如果需要采样Sprite格式的话需要把Wrap Mode设为Repeat,不然会采不到 阅读全文

posted @ 2021-07-13 15:45 littleLong 阅读(176) 评论(0) 推荐(0)

2019年7月2日

pyinstaller 打包出现_tkinter.TclError: can't find package tkdnd 解决办法

摘要: 我的python安装路径:C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32 打包时添加命令--add-data C:\Users\Administrator\AppData\Local\Programs\Python\P 阅读全文

posted @ 2019-07-02 14:48 littleLong 阅读(2369) 评论(1) 推荐(2)

2019年5月22日

解析一个预设体上的引用资源并拷贝到新生成路径,同时替换预设体上的引用,指向新的拷贝。

摘要: using UnityEditor; using UnityEngine; using System.IO; using System.Collections.Generic; using UnityEngine.UI; using System.Text; public static class 阅读全文

posted @ 2019-05-22 16:40 littleLong 阅读(126) 评论(0) 推荐(0)

导航

点击右上角即可分享
微信分享提示