mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2024-12-22 17:47:35 +08:00
Update TimeScaleWidget.cs
This commit is contained in:
parent
3d61011e59
commit
4c029dad90
@ -36,7 +36,7 @@ namespace UnityExplorer.UI.Widgets
|
||||
{
|
||||
// Fallback in case Time.timeScale patch failed for whatever reason
|
||||
if (locked)
|
||||
Time.timeScale = desiredTime;
|
||||
SetTimeScale(desiredTime);
|
||||
|
||||
if (!timeInput.Component.isFocused)
|
||||
timeInput.Text = Time.timeScale.ToString("F2");
|
||||
|
Loading…
Reference in New Issue
Block a user