Ultimate Progression Framework System
v1.0.0
Complete Upgrade Info Provider Inspector
The Info Provider Inspector separates source synchronization, field selection, custom definitions and fetched output.
Inspector section

1. Upgrade Source & Sync

Connects the provider to the authoritative Upgrade SO and controls synchronization.

Fetch Upgrade Info reads the nested Big and Small Upgrade structure and creates a presentation record for each step.

Use preserveExisting when refetching after structural edits if existing custom values should remain attached where possible.

Info Provider Upgrade Source and Sync section
Assign the Upgrade source and fetch its current structure before configuring presentation data.
Inspector section

2. Field Selection

Chooses which standard Upgrade fields are copied into the information layer.

Info Provider Field Selection section
Enable only the standard fields required by gameplay or UI consumers.
  • Big and Small Upgrade names and indices
  • Upgrade level, value and native price
  • Completion and current-state information
  • Fields used by cards, tooltips, previews and selection screens
Inspector section

3. Custom Field Definitions

Adds project-specific presentation metadata without modifying Upgrade SO.

Info Provider Custom Field Definitions section
Custom fields provide typed metadata with explicit Small, Big or Both scopes.
Field typeTypical purposeExample
StringLabels and descriptionsIncreases attack speed
Int / FloatAdditional numeric metadata+15 or 1.25
ColorRarity and visual stateLegendary accent
SpriteIcons and badgesTier emblem
MaterialPresentation materialUnlocked appearance
Texture2DLarge art or previewsUpgrade artwork
Inspector section

4. Fetched Upgrade Data

Shows the synchronized presentation records and their custom values.

Info Provider Fetched Upgrade Data section
Review the fetched output to verify indices, selected fields and custom metadata before runtime.

Runtime queries

Read the current, next or specifically indexed presentation record.

  • GetNextUpgradeInfo
  • GetUpgradeInfo by global or Big/Small index
  • GetAllInfoForBig and GetBigUpgradeInfo
  • GetCustomField and GetCustomFieldByIndex overloads
  • CheckDirty for synchronization monitoring
csharp
UpgradeInfoProvider.SmallUpgradeInfo next =
+    infoProvider.GetNextUpgradeInfo();

if (next != null)
{
    UpgradeInfoProvider.CustomFieldValue label =
+        infoProvider.GetCustomField(next, "display-name-tag");

    Debug.Log(label.stringValue);
}