Instead of displaying all print messages at once when the game starts, I want the user to receive new messages by pressing KeyCode.Space.
Observed
When KeyCode.Space is pressed all the messages appear at once.
Desired
With every GetKeyDown (KeyCode.Space) by the user, a new message to appear.
Steps to reproduce
create a list of print messages which to be displayed when a specific key is pressed
Relevant information
Unity 4.7.2f1
The Code:
https://gist.github.com/DragoshCraciun/bd336c845f733ce4619bde9cd76aad9d
Steps tried already
- using if statements
- using if else statements
- using variables
- using strings