播放角色動畫片段

玩家
伺服器端與客戶端
限PC端

播放角色動畫,支援自訂動畫資源

聲明

func PlayCharacterAnimationClip(target entity<Player>, resource AnimationClipID, isLoop bool)
go

參數

輸入

名稱 類型 描述
目標 Player 目標玩家
資源 AnimationClipID 自訂動畫資源ID
是否循環 Bool 是否循環播放