/// Updates the World-time hour based on the current time of day. private void UpdateWorldTime() { var fHours = 24 * _currentTimeOfDay; var hours = (int)fHours; var minutes = (int)(60 * (fHours - Mathf.Floor(fHours))); LocalTime.SetTime(hours, minutes); }