This is the interactive system component, which is mainly used to attach to the character controlled by the player to handle the interaction with various Actors in the scene.

It is implemented based on detection.

Untitled

1. Configurable parameters:

Untitled

2. The main function:

1. Start and end interaction (BeginInteraction, EndInteraction, ToggleInteraction)

When there is an interaction target, use them to notify the interaction target and start/end the interaction with the target.

Untitled

2. Enabling and disabling the interactive system

Used to control the enabled/disabled state of the character's interactive system. (For example, in combat, the interactive system is generally not needed temporarily, so you can use them to temporarily turn off the interactive function)

Untitled