Class HudTimeRepresentationGui
The stopwatch editor: each choice is a set of buttons showing what it produces, under a live sample of the whole format.
Inherited Members
Namespace: Serenity.GameUi.Infrastructure.Editor.Builder
Assembly: Serenity.UnityGameUi.Infrastructure.Editor.dll
Syntax
public static class HudTimeRepresentationGui
Remarks
The generic field walker rendered "Minute Digits" and "Decimal Places" as sliders, which is the wrong
control twice over: a slider suggests a continuum where there are two or four discrete choices, and a
number answers nothing — an author does not want "2", they want 01:23. Every choice here is
labelled with its own output, and the sample at the bottom is the real formatter running on the values as
authored, so what it shows is what the game will print.
Methods
Draw(SerializedProperty)
Draws the stopwatch fields and the live sample.
Declaration
public static void Draw(SerializedProperty representation)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedProperty | representation | The serialized |