Class TickingDown
This component can send date and time information with a low load to the Text or TextMeshProUGUI uGUI component.
Namespace: black.kit.toybox
Assembly: cs.temp.dll.dll
Syntax
public sealed class TickingDown : IntervalBase
Remarks
Usage (in the inspector of Unity Editor):
- Add this component or prefab to the scene.
- Specify the Text (and|or) TextMeshProUGUI component to display the date and time.
- Specify the format to display the date and time.
- Specify the interval to update the date and time.
Fields
NAME_TEXT
The property name of the format.
Declaration
public const string NAME_TEXT = ""
Field Value
Type | Description |
---|---|
System.String |
NAME_TEXT_MESH
The property name of the format.
Declaration
public const string NAME_TEXT_MESH = ""
Field Value
Type | Description |
---|---|
System.String |
Methods
UpdateView()
Update the view of the UI.
Declaration
public override void UpdateView()
Overrides
ValidateInspector()
Validate the inspector.
Declaration
protected override bool ValidateInspector()
Returns
Type | Description |
---|---|
System.Boolean | Whether the inspectors are valid. |