摘要: public class L28 : MonoBehaviour { public Sprite[] sprites; private SpriteRenderer sr; private float time=0; private int nowIndex = 0; // Start is cal 阅读全文
posted @ 2025-04-01 17:23 cannedmint 阅读(77) 评论(0) 推荐(0)
摘要: public class L27 : MonoBehaviour { private Animator ani; // Start is called before the first frame update void Start() { //Animator相关参数 //Avatar 对应的替身 阅读全文
posted @ 2025-04-01 16:49 cannedmint 阅读(36) 评论(0) 推荐(0)
摘要: public class L26 : MonoBehaviour { // Start is called before the first frame update void Start() { //有限状态机表示有限个状态以及在这些状态之间的转移和动作等行为的数学模型 //状态指拥有的所有状态 阅读全文
posted @ 2025-04-01 16:29 cannedmint 阅读(14) 评论(0) 推荐(0)