Interaction System
Overview
Section titled “Overview”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.
Important files
Section titled “Important files”InteractionZone.csKeyOperatedZone.csInventoryChest.csInventoryKeyItem.cs
Setup checklist
Section titled “Setup checklist”- Add the zone component
- Configure the prompt and trigger behavior
- Decide if the object is key-gated
- Connect the inventory reward or action
Media Suggestions
Section titled “Media Suggestions”- 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.