← ClaudeAtlas

unity-interactionlisted

Press-to-use in 2D and 3D: doors, switches, gates, pickups, use prompts, point-and-click hotspots.
tipoLi5890/unity-dev-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill tipoLi5890/unity-dev-skills
# unity-interaction — detection is chosen by perspective; the contract is the same everywhere > **Finding what is in reach is the easy tenth.** The complaints — the prompt that flickers, the > gate that opens twice, the switch used through a wall, the parcel counted twice — are never > about the overlap call. They are about selecting **one** target and keeping it, and about who > owns the change. The fix is the same in every view: the interactor selects and delivers a > press; the interactable decides what the press means, and refuses on its own. ## Symptom → where to look | The report | Go to | |---|---| | "press E to open the door", locked doors, switches, gates | §1, `reference/doors-and-switches.md` | | "the prompt flickers between two objects", "I can use the switch through the wall" | `reference/detection-choice.md` | | "the door opens twice" | `reference/interactable-contract.md` (the double-press guard) | | "the coin gets collected twice", pickups | `reference/pickups.md` | | "walk over and then use it", point-and-click hotspots | `reference/point-and-click.md` | | The use prompt: placement, glyph, hold ring | `reference/prompts.md` | | Which detection for this camera | §0 | ``` RunInput ──► interactor ──────────────► interactable ───────────► the world (struct) who is in reach may this actor use me? gate opens, parcel counted which ONE is selected what does using me do? events out: audio, feel, UI spends one p