mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-23 04:23:04 +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 ()
|
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($"Current time: {DayTimeManager.Singleton.CurrentTimeHours}:{DayTimeManager.Singleton.CurrentTimeMinutes}");
|
||||||
GUILayout.Label($"Time scale: {DayTimeManager.Singleton.timeScale}");
|
GUILayout.Label($"Time scale: {DayTimeManager.Singleton.timeScale}");
|
||||||
|
|
Loading…
Reference in a new issue