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/               // Runnable currency-only demo scenes
      ScriptableObjects/    // Sample-only helper assets (if present)

🎬 Scenes

The Scenes folder contains self-contained demo scenes showing how to use the Economy system:

  • Currency-only setup
  • Lightweight overlay-based validation

👉 These are runnable examples of real behaviour, not simplified demos.

Inventory-backed examples are located under:

Integrations/Economy/InventoryIntegration

🧩 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/Economy when working with inventory-backed flows

⚠️ 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 — 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.