摘要: 动画机在子节点的预制体上,动画事件函数需要在Animator组件同一个GameObject上; 写起来会比较麻烦,用事件将动画事件传递到父物体的脚本中; public class AnimaEventDelivery : MonoBehaviour { [Header("指定传递动画事件")] pu 阅读全文
posted @ 2022-02-22 10:56 小紫苏 阅读(473) 评论(0) 推荐(0) 编辑