I am having trouble getting my greeting to display. I followed all the steps for the string, but I still can’t get it to display. Here is a picture of my code.
Your code looks good to me. Maybe the additional write lines at the bottom are ‘pushing’ the greeting off the top of the the terminal. Try commenting out the last 5 writeLines and see if that helps out.
Hope you get it sorted out!
Hi,
Have you attached your Hack.cs script to a GameObject in the scene?
Incidentally, you can just copy/paste your code into the forum, just pop the code formatting characters at the start/end and it will appear very nicely in your post.
See also;
- Forum User Guides : How to apply code formatting within your post
I got it figured out. I accidentally created another script file and removed it and edited the one attached to the game object and now it works. Thanks for the help everyone
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.