【战斗】主角出现在战斗中时缺少动画处理

dev_chengFeng
gaoxin 2021-12-10 09:57:08 +08:00
parent ffe01ddf16
commit 836d216309
1 changed files with 3 additions and 0 deletions

View File

@ -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)