Basically, I am planing to use co-routine and WaitForSeconds(waitTime); to count the beats. The player scores when he clicks the the gameObject right on the beat.
Let’s Say the waitTime is 1 second, the script will run a function every 1 second to check if the player clicks the gameObject. It allows the player to have +/- 0.1 second error when hitting the button. How do I achieve this?