WorldClock/Scripts/UIExamples/ActiveClockController.cs
/// <summary>
/// Displays the time for the given WorldClock
/// </summary>
Displays the time for the given WorldClock
Displays the time for the given WorldClock
public void DisplayTime()
    {
        WorldClock clock = ClockLibrary.Instance.ActiveClock;
        if (clock != null)
            displayText.text = clock.GetFormattedMinutesAndHours();
        else
            Debug.Log("No Active Clock");
    }
public void DisplayTime ( ) { WorldClock clock = ClockLibrary . Instance . ActiveClock ; if ( clock != null ) displayText . text = clock . GetFormattedMinutesAndHours ( ) ; else Debug . Log ( " " ) ; }
Displays the time for the given WorldClock
Displays the time for the given WorldClock