Hi, I'm creating a simple quiz game and I've created my own data controller. But here is a simple problem when I add a new question with \n to my data and play the game that \n is showing on the screen but I just want to break the line how can I do that? By the way, I'm creating an Android game
Please post the code you are using. a \n inside double quotes should actually work.
Here you are. As you can see, it shows \n even though I used double quotes.
Without quotes it doesn't work either
Answer by elxan
4 days ago
But It is impossible to store questions in script. How can I do that ?
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
7 People are following this question.
Using enum as a string with an if statement
C# If string is equal to any in array
Convert keycode to string
How to see if a string in a string array is equal to a normal string in C#?
How can I make a UI button press affect something in a text box?