I developed a coin collection script using the Rive AI Agent.
The script allows coins to be emitted from a dynamic source position and fly towards a dynamic target position, which can be set based on the UI element’s position.
To help attract players’ attention, I created a looping bounce animation for both the gift box and coin stack, along with a subtle gleam effect to make the rewards feel more eye-catching.
Since the message box uses a responsive layout, I...