This commit is contained in:
in0finite 2021-05-03 02:00:55 +02:00
parent 50e8cef69a
commit d5f3657151

View file

@ -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}");