Skip to main content

Namespace mobisim.Interaction

Classes​

Lets tracked hands press the interaction prompts: touching a prompt row with an index fingertip holds it, the same as holding its Interact key, and pulling the finger back releases it. Goes on the world-space prompt Canvas; the rows are its InputPromptView children.

Represents a single UI prompt for one interaction option on an interactable object. Displays the corresponding input (e.g., button or key), visualizes interaction progress with a fill bar, and updates its state based on player input and interaction status.

Works in coordination with InteractionView to ensure only the selected prompt remains active, while other InputPromptView instances are visually and functionally locked.

World object that the player can interact with, exposing up to OPTIONS_COUNT_MAX labelled choices and gating interaction on proximity and on-screen visibility.

The interactable options that the can be selected by the interactor.

Defines an interaction area that detects when an Interactor enters or exits its bounds.

Represents a command issued to interact with an Interactable object.

Holds all runtime state and enforces all interaction rules for the interaction system, independently of how input is delivered or how the result is displayed.

A data log containing records of occurred interaciton.

Provides the visual representation of available interaction options to the user. Responsible for showing prompts, updating progress visuals, and managing UI lock states.

The mediator between InteractionView and InteractionModel. Translates UI input events into model state changes, and reflects model state changes back into the UI.

A timestamped interaction message containing information regarding one occurrence of an interaction.

Structs​

Presentation-only description of a single interaction option.

Enums​

What happens to the interactable's options once this one completes.