CatalogKey is a lightweight serializable reference:

  • Catalog (catalog id string)
  • Key (entry id string)

It intentionally stores strings only.

CatalogKey Dropdown and Preview

Inspector Experience

With CatalogKeyConstraint and registered catalogs, the inspector can show:

  • catalog/key dropdown selection
  • asset preview (for asset-backed catalogs)

Even with preview UX, the stored value remains string data.

Current Mismatch Behavior

Current workflow is warning-oriented in inspector (no automatic fallback value assignment).

Example Usage

InventoryItemDefinition.IconKey can be constrained to sprite catalogs:

csharp
[CatalogKeyConstraint(InventoryConstants.IconsProviderId, typeof(Sprite))] public CatalogKey IconKey;

Settings

Theme

Light

Contrast

Material

Dark

Dim

Material Dark

System

Sidebar(Light & Contrast only)

Light
Dark

Font Family

DM Sans

Wix

Inclusive Sans

AR One Sans

Direction

LTR
RTL