I am new to Unity so I apologize for my poor explanation:
I have a turn-based game where I need the player to react in a certain amount of time by pressing one of two buttons. If the time runs out, it’s game over, but if a button is pressed within the time-frame, the coroutine needs to exit and continue the program.
I think I need a coroutine GetPlayerInput() that needs to WaitForSeconds() while also checking if a button has received input. How can I do both of these at the same time?
Thanks!