Skip to content

UI Widgets

UI Widgets are reusable PlayMaker 2 systems for building common game UI:
health bars, meters, minimaps, target indicators, and more.

Each widget consists of:

  • A component that manages the UI logic
  • Unity UI (uGUI) prefabs for their visuals
  • A set of PlayMaker actions for adding targets, updating values, etc.

Widgets update automatically as their values or targets change.

They are designed to be flexible and data-driven, making it easy to adapt them to your game's art style and workflow.

How Widget Visuals Work

Widget prefabs must use a RectTransform as the root and may include:

  • Images, TextMeshPro elements, and layout components
  • Animation components or effects
  • One or more PlayMaker FSMs to control visuals and behavior
  • A Target Object component for widgets that follow world-space targets

Individual widgets may define additional layout or canvas requirements.
These details are documented on each widget's page.

Categories

Data

Widgets that show and interact with data-driven content. Examples include table widgets, paging controls, and reorder interactions.

Lists

Advanced list views, e.g., AnimatedList.

Meters

Widgets for displaying numeric values:
health bars, heart containers, progress meters, cooldowns, etc.

Target Managers

Widgets that create UI for world-space objects, such as:
offscreen arrows, target brackets, nameplates, and radar/minimap indicators.

Helpers

Global Variable Text Binding

Bind a Global Variable directly to a text UI component
(e.g., score displays, player names, currency counters).

Nesting Widgets

Widgets that display values like meters or labels can be nested inside indicator prefabs.
This lets you create richer UI, such as a TargetIndicator with a health bar or distance meter.