Skip to content

Internal (Unity Integration)

Hidden Unity-side helpers used by the Inventory runtime.

These components support lifecycle and cleanup behaviour but are not part of the public API.


Purpose

Provide Unity lifecycle helpers that keep inventory state consistent and handle cleanup.


What Lives Here

  • InventoryOwnerHook → cleans up containers when an owner is destroyed

Important Notes

  • This is not a supported public API surface
  • Components may change between versions
  • Intended for internal runtime use only

Usage Guidance

InventoryOwnerHook

Handles cleanup of inventory containers when an owning GameObject is destroyed.

  • resolves the inventory service
  • clears container state for the owner

Lifecycle role

These helpers support scene-level lifecycle behaviour and are typically added by higher-level components.


Not for Production Use

Internal lifecycle plumbing with no public surface

This folder does not:

  • Provide public APIs
  • Define gameplay logic
  • Handle UI binding
  • Enforce authority

  • ../