Skip to content

Economy — Samples

The Economy Samples folder contains runnable scenes and lightweight support content for exploring how the Economy system behaves in practice.

These samples are designed to:

  • Demonstrate real usage patterns
  • Validate behaviour in isolation
  • Provide copyable integration examples

They are not production systems and can be safely removed from builds.


Folder Overview

Samples/
  Systems/
    Economy/
      Scenes/               // One runnable currency-only demo scene (00_Economy_Quickstart)
      ScriptableObjects/    // Sample-only helper assets (ItemGuidMap)

Scenes

The Scenes folder contains one self-contained demo scene, 00_Economy_Quickstart — a currency-only setup with no IItemStore.

👉 It is a runnable example of real behaviour, not a simplified demo.

Inventory-backed examples, including the runtime overlay scene, are located under:

Integrations/CrossSystem/Economy/InventoryIntegration/Scenes/

Those ship only in Complete

They require Economy, Currency and Inventory together, and no single-system SKU owns all three — Inventory ships in the Inventory, Pickups & Crafting SKU. If you own Currency & Economy, 00_Economy_Quickstart is the full set of Economy sample scenes you should expect, and nothing is missing from your package.


Authoring Support

Sample scenes and overlays use shared authoring types from:

Runtime/Systems/Economy/Authoring

These provide inspector-friendly data structures used to build runtime Economy values.


Usage Guidance

  • Use Scenes to understand basic Economy flow
  • Use Integrations/CrossSystem/Economy when working with inventory-backed flows (Complete only)

Important Notes

  • Samples use real runtime behaviour
  • UI is for demonstration only
  • Inventory-based flows are not included here
  • Performance depends on your currency and gameplay implementations

  • Economy — Abstractions
  • Economy — Facade
  • Currency — Ledgers & Policies
  • Integrations — CrossSystem/Economy
  • Teaching Panels — guided debugging and inspection

These samples exist to help you understand and validate the system.

Use them as a reference — then build your own gameplay systems on top.