mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-01-04 00:23:29 +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
|
// Fallback in case Time.timeScale patch failed for whatever reason
|
||||||
if (locked)
|
if (locked)
|
||||||
Time.timeScale = desiredTime;
|
SetTimeScale(desiredTime);
|
||||||
|
|
||||||
if (!timeInput.Component.isFocused)
|
if (!timeInput.Component.isFocused)
|
||||||
timeInput.Text = Time.timeScale.ToString("F2");
|
timeInput.Text = Time.timeScale.ToString("F2");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user