Quantcast
Channel: Questions in topic: "linebreak"
Browsing latest articles
Browse All 30 View Live

multi line label with different font?

Hi, I'm making a scene that tells a story using text. I'm using GUI.Label to do it. It worked perfectly fine until I changed the font to one I got from dafont.com. Now it just writes completely off the...

View Article



Multi lining or line breaks for the inspector window

How do you enter multi line text in the inspector window?? From what I've found, 'MAC' users can do option-return, and in script you can use \n, but for windows- what? and don't tell me to do Alt-...

View Article

Get newlines from TextArea

If I set up a TextArea with a fixed width and height and type some input text, the text will be wrapped automatically by the TextArea. Is there a way to get exactly these generated line breakes? The...

View Article

C# \n won't break to a new line

I've been looking around on how to get a long string to break to a new line and I came across \n but however everything after \n doesn't display can I get some help? Thanks in advance. void OnGUI() {...

View Article

Adding line breaks when the text is bigger?

In my game i have a text files that contains Question and Answers of different categories. I have stored it in an XML file and displayed the questions and options based on current string length. Below...

View Article


Char-by-char RPG style textbox + word wrapping...

Kinda new here still. Anyway, I've successfully made a textbox method that takes a string, and then draws it one character at a time at x speed with the traditional bloopy sound, etc... The issue is...

View Article

Broken wrapping in Unity 5.0

Hello, guys. In our game, when player point cursor on some objects, the text is appeared. It was done in Unity 4.* with the script which is connected to an GameObject. The script has a public variable...

View Article

How to make a line break?

I cannot believe how simple this may sound, but how impossible it seems to be. I have a simple text object on my GUI. Now and then I want it to display a message, such as "You were hit by a big bad...

View Article


uGUI Text wrong chinese line break

Feeding chinese text into a Text Component, the result sometimes breaks the period over to a new line ![Chinese text, that's getting wrapped so the period is on a new line][1] can this be...

View Article


Line break UI Text field

Hi I'm trying to set the text with string can't get the line break to work. want it to look this one ![alt text][1] but it looks like this all mess up ![alt text][2] the code that i am use to set the...

View Article
Browsing latest articles
Browse All 30 View Live


Latest Images