Progress Update: Coin Distraction And Voice Overs
I have added a coin distract feature that allows the player to distract the guards. This is done in a similar way to the player walking. You check for the right mouse button to be pressed and check if the player is not moving. If both of these are true then the coin will be instantiated where the player right clicks. The player is limited to one coin per game.
I used a coroutine to disable the ability to walk while the coin toss animation is played.
I also created a modular voice-over script to play the audio clips when the player hits the corresponding trigger.