Animation的坑,播放的时候隐藏了UI界面,结果再次把UI界面显示出来后,就会卡在动画的某处

local animation= obj:GetComponent("Animation")
local state = animation.this:get(name)
if state then state.speed =  state.length end
animation:Play(name);

你可能感兴趣的:(ui)