WorldClock/Scripts/UIExamples/ClockController.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()
    {
        if (ClockToObserve != null)
            displayText.text = ClockToObserve.GetFormattedMinutesAndHours();
        else
            Debug.Log("Assign a World Clock to display time");
    }
public void DisplayTime ( ) { if ( ClockToObserve != null ) displayText . text = ClockToObserve . GetFormattedMinutesAndHours ( ) ; else Debug . Log ( " " ) ; }
Displays the time for the given WorldClock
Displays the time for the given WorldClock