According to the lecture, when player pressed Enter key, the system won the game and inside that same if else statement, I would like to ask the player to continue playing or terminate?
Observed:
The system loops at void Update() constantly, not receiving inputs for the nested if else statement. Nothing happens when I pressed Y or N keys.
Expected:
After pressing Enter key, go inside if else, loop for user input of Y = Yes or N = No to continue playing or terminating the game.
These two images are the coding and observed output respectively.