Elements

Reusable UI Toolkit VisualElement components for the Paragon Editor. Each element extends ParagonVisualElement<T>, comes with a UXML template and USS stylesheet, and can be used both programmatically and in UI Builder.

Architecture

spinner

Element Subsystems

Element
Purpose

Paragon icon display with optional superscript/subscript overlays

Collapsible inspector container with header, icon, and tool buttons

Common Pattern

All elements follow the ParagonVisualElement<T> lifecycle:

  1. CreationCreate() or CreateImmediate() static factory, or via UXML

  2. Template — UXML template loaded via [UxmlTemplate] attribute

  3. InitializationOnCreateGUI() queries child elements and sets up bindings

  4. Properties — Setter methods (e.g., SetHeader()) guard against null elements before template is loaded

See Also

Last updated