SS3D
SS3D copied to clipboard
Radial menu passes incorrect interaction event
Summary
The radial menu is responsible for presenting interactions to the player. In this process it calls methods that require an interaction event. The interaction event contains the target of the interaction.
Current Behavior
The InteractionHandler passes an event to the ui. This event is then reused for all interactions, even if they were generated by a different target. This can lead to a mismatch in the GetName function, causing it to error out or display an incorrect value.
Expected Behavior
Each interaction should be passed an event with the target value properly set.
Possible Solution
Pass an array of InteractionEntry to the ui and use them to construct a proper event.