Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

游戏暂停时,拆线图自带的刷新动画不运行,导致图表不显示 #223

Closed
miblooming opened this issue Oct 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@miblooming
Copy link

建议类似Unity自带的Animator,可以设置动画是基于Time.time或Time.unscaledTime来运行
这样,当游戏使用Time.timeScale=0来暂停游戏时,UI上的图表,仍可正常基于Time.unscaledTime来进行动画刷新显示

@monitor1394 monitor1394 added the enhancement New feature or request label Oct 12, 2022
@monitor1394
Copy link
Collaborator

master分支已支持。
Animation增加了UnscaledTime参数:
image
勾选后设置Time Scale为0后动画依旧会播放。
图表刷新需要Update,在Unity2017.4上测试发现,当暂停游戏时Update也不运行了,所以图表也不会刷新。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants