Skip to content

Interaction System

The interaction runtime is small and focused. It gives the world object a way to react to the player without forcing the player code to know every possible interaction type.

  • InteractionZone.cs
  • KeyOperatedZone.cs
  • InventoryChest.cs
  • InventoryKeyItem.cs
  • Add the zone component
  • Configure the prompt and trigger behavior
  • Decide if the object is key-gated
  • Connect the inventory reward or action
  • Screenshot: Zone component in the Inspector.
  • Screenshot: Locked gate or chest setup.
  • GIF: Interact prompt appearing and opening.
  • Video: Locked door with inventory key walkthrough.
  • Diagram: Player input → zone → gate check → action.