Unity Animator控制動畫進度

Unity版本 2017.2動畫    Animator.Play("動畫名", 動畫所在層, 百分比);orm 最後的參數範圍是0~1,也就是從動畫的百分之多少開始播放ip    Animator.speed = 0; it 控制當前播放速度爲0,就是暫停了。cli   Animator.GetCurrentAnimatorClipInfo(0)[0].clip.name im 獲取當前播放動畫
相關文章
相關標籤/搜索