Time

Time24 has 24-hour format.
Time12 has 12-hour format with AM/PM toggle.

Options

  • Interactable bool

    User can interact with this widget.

  • Current Time As Default bool

    • Time TimeSpan (string in Inspector window)

  • Time Min TimeSpan (string in Inspector window)

    Minimal selectable time.

  • Time Max TimeSpan (string in Inspector window)

    Maximum selectable time.

  • Input Hours Adapter InputFieldAdapter

    InputField for the hours.

  • Input Minutes Adapter InputFieldAdapter

    InputField for the minutes.

  • Input Seconds Adapter InputFieldAdapter

    InputField for the seconds.

  • Button Hours Increase ButtonAdvanced

    Button to increase hours.

  • Button Hours Decrease ButtonAdvanced

    Button to decrease hours.

  • Button Minutes Increase ButtonAdvanced

    Button to increase minutes.

  • Button Minutes Decrease ButtonAdvanced

    Button to decrease minutes.

  • Button Seconds Increase ButtonAdvanced

    Button to increase seconds.

  • Button Seconds Decrease ButtonAdvanced

    Button to decrease seconds.

  • Allow Hold bool

    Allow button hold after Hold Start Delay to increase/decrease time with each Hold Change Delay.

  • Hold Start Delay float

    Seconds from button press to start increase/decrease on hold.

  • Hold Change Delay float

    Seconds to single increase/decrease during hold.

  • AMPM Button Button

    Button to toggle AM/PM.

  • AMPM Text Adapter TextAdapter

    Text to display AM/PM.

Events

  • OnTimeChanged UnityEvent<TimeSpan>

    The event raised when time changed.

    Arguments: selected time.