So when i sat and brainstormed ideas for my Text101 i decided to stick to the prison theme.
i start by having a welcome text and a press enter to continue
then i have it go on to the prison warden talking to you the inmate and i wanted to have pauses in the text so my next page of text dosent just flash up without giving you chance to read the last page of text so i did a little research and found this link https://forum.unity3d.com/threads/how-can-i-make-a-c-method-wait-a-number-of-seconds.61011/ 5 post down a guy called hoff gives an example code that i decide to try and use i used F8 to build the code in monodevelop and it through back no errors
Here is my code: http://pastebin.com/RjZHzMpP
What i expected to Happen:
I expected that when i ran my code it would regester the input.getdown keycodes and bring up my text that then after my set pauses would move onto the next part of the code
What Happend:
so i get my first welcome text prompt but when i press entrer it dosent register my inputs
What iv done:
i tryed to do some reasearch but couldnt find anything that would help me im still at an early stage of lurning C# so i dont know what i should do to trouble shoot this problem
Maybe im just trying to step too far forward too early (if so say so) plus i dont really undertand too much what StartCoroutine is and how it all works but if this is covered later on id happily wait for that section and simplify my code and come back later when iv compleated more of the course
Thanks for any help you can give