【战斗】主角出现在战斗中时缺少动画处理
parent
ffe01ddf16
commit
836d216309
|
@ -387,6 +387,9 @@ end
|
|||
-- 播放动画
|
||||
|
||||
function PlayerView:PlaySpineAnim(gog, time, name, isLoop)
|
||||
if startWith(gog.gameObject.name, "live2d_npc") then
|
||||
return
|
||||
end
|
||||
if isLoop then
|
||||
self.currAniName=name
|
||||
gog.AnimationState:SetAnimation(time, name, isLoop)
|
||||
|
|
Loading…
Reference in New Issue