unity3d,动画卡在第一帧
我有一个菜单场景和场景 A、场景 B。当我转到场景 A 时,3D 对象将播放一些动画,并且我有一些按钮可以单击并使其动画化,但是如果我转到场景 B,则从菜单中,我回到菜单然后我去场景A,场景A中的所有动画都不起作用,“animation.isPlaying”显示为true。如果我禁用启动动画,然后单击这些动画按钮,“animation.isPlaying”也会从 false 变为 true。但它就是不动,就像卡在第一帧一样,任何帮助将不胜感激......
i have a menu scene and scene A, scene B. when i go to scene A, a 3D object will play some animation, and i have some button to click and make it animation also, but from menu if i go to scene B, i come back to menu then i go scene A, all the animation in scene A will not working, "animation.isPlaying" is showing true. if i disable the starting animation, and click those animate button, "animation.isPlaying" turn from false to true also. but it just wont move, just like stuck at 1st frame, any help will be appreciate...
问题修复,如果你想知道为什么,是因为我在另一个场景停止了“时间”,我没想到即使场景被杀死它仍然会存在。
problem fix, in case you want to know why, is because i stop the "time" at another scene, and i didn't expect that it will still remain even when the scene was killed.