What problem does it solve?
Developers need a clear, concise guide to the code‑only visual classes that back Gum Forms controls, especially when customizing or debugging default visuals.
Core Features & Use Cases
- Two‑generation overview: Explains legacy V1
Default*Runtime visuals and modern V2+ *Visual classes, including the V3 variants.
- Construction pattern details: Describes the step‑by‑step initialization (child runtimes, state categories, styling pull, control attachment) for V2+ visuals.
- Initialization flow: Clarifies how
GumService.Initialize() registers defaults and how project‑based defaults can override them.
- Styling centralization: Documents
Styling.cs constants for colors, nine‑slice textures, icons, and text configurations.
- Naming conventions: Lists required child names (e.g.,
"TextInstance", "FocusIndicator") that Forms controls expect.
- Key file map: Provides a quick reference table of the most important source files related to default visuals.
Quick Start
Load the gum‑forms‑default‑visuals reference and ask how to build a custom visual for a new Forms control.