01 2021 档案
摘要:Animator 中的 State 里有个可以勾选的属性叫 Write Defaults 因为一直是默认勾选的,也没太当回事,现在发现是个很重要的玩意 (其实就是Animator坑爹罢了,以后不要再用Animator里面的蜘蛛网写2D逐帧动画了,自己写个状态机不香吗? 一个常见的例子就是假如我想有多
阅读全文
摘要:1 using System.Collections; 2 using System.Collections.Generic; 3 using UnityEngine; 4 5 [RequireComponent(typeof(Controller2D))] 6 public class Playe
阅读全文