📦 Components (Unity Integration)¶
Optional Unity MonoBehaviours that provide scene-level behaviour helpers for the Inventory system.
🎯 Purpose¶
Provide optional helpers that apply configuration and automate scene-level behaviour.
🧩 What Lives Here¶
InventorySizeSync→ applies container size policy at runtime
⚠️ Important Notes¶
- These components are optional
- They do not replace core service or container logic
- They operate through the public service API
🧠 Usage Guidance¶
InventorySizeSync¶
Applies container sizing rules when the scene initializes.
- resolves the inventory service
- reads configured size policy
- applies sizing through service APIs
Integration¶
Attach to scene objects to apply behaviour automatically at runtime.
Behaviour¶
- may safely handle missing service or owner
- uses service APIs for consistency
🚫 Not for Production Use¶
This folder does not:
- Define container logic
- Enforce authority rules directly
- Implement gameplay systems
🔗 Related Documentation¶
- ../
- ../../Data/README.md