mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 20:13:02 +00:00
...
This commit is contained in:
parent
50e8cef69a
commit
d5f3657151
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,11 @@ namespace SanAndreasUnity.UI {
|
|||
|
||||
protected override void OnWindowGUI ()
|
||||
{
|
||||
if (null == DayTimeManager.Singleton)
|
||||
{
|
||||
GUILayout.Label($"{nameof(DayTimeManager)} not available");
|
||||
return;
|
||||
}
|
||||
|
||||
GUILayout.Label($"Current time: {DayTimeManager.Singleton.CurrentTimeHours}:{DayTimeManager.Singleton.CurrentTimeMinutes}");
|
||||
GUILayout.Label($"Time scale: {DayTimeManager.Singleton.timeScale}");
|
||||
|
|
Loading…
Reference in a new issue