Skip to content

🧪 Economy Samples — Item Guid Map

This folder contains a teachable-only helper asset used by Economy sample scenes and overlays.


📦 ItemGuidMap

ItemGuidMap is a simple GUID → Object lookup table used to resolve item identifiers in sample UI and diagnostics.

It exists purely to support:

  • Teachable panels
  • Overlay displays
  • Debug visualisation

⚠️ Not for Production Use

This is NOT a production system.

It is intentionally:

  • loosely typed (UnityEngine.Object)
  • manually populated
  • non-authoritative
  • not validated beyond basic duplicate checks
  • not designed for persistence or scale

👉 Do not use this as your item database or runtime registry.


✅ Intended Usage

Use this only for:

  • sample scenes
  • debugging item flows
  • visualising Economy behaviour

🧩 Production Alternative

In a real project, you should:

  • implement your own item registry / resolver
  • use a strongly-typed lookup (e.g. ItemDefinition)
  • integrate it via your Economy adapters

Example:

```csharp Func resolver;