I am going through Will Goldstones book Unity 3.x Game Development Essentials
And I am actually at the end of it and as I was tweaking some stuff I thought about changing my text hints for the campfire and the outpost door a little so they made more sense
The code is working fine no errors in Visual Studio or Unity
My problem is that my text hint goes off the screen and I can’t seem to figure out how to make it be 2 lines instead of one that you can’t read all of?
If i need to explain better or show some code let me know
Also making the font smaller is no solution since it just makes it impossible to read
The problem lies in the hint being too many words for one line of text
Wanting to figure out how to make it do this
Nope, \n. The \ is an escape character. You can use other combinations like \0 for a null character, " for quotes inside a string, or, in case you need a literal backslash, \.
It’s not something you’re born knowing; you have to read about it for the first time somewhere.