x


How can I force word wrap to wrap texts from right to left?

How can I force word wrap to wrap texts from right to left?

like this:

Hello, there.

--->

.there

Hello,

more ▼

asked Feb 09 '10 at 11:07 AM

AliAzin 1 gravatar image

AliAzin 1
23 3 4 8

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

You could break the string into an array (separated by spaces), then reassemble the string by accessing the array from last entry to first.

more ▼

answered Feb 10 '10 at 10:06 PM

Jeff Lowe gravatar image

Jeff Lowe
32 1 2 2

Thanks for answer, I know, But I don't know how to calculate the length of the string in pixels.

Feb 13 '10 at 07:09 AM AliAzin 1
(comments are locked)
10|3000 characters needed characters left

I don't think there is any way to do this in Unity. You could request the feature with the Report Bug application.

more ▼

answered Feb 10 '10 at 07:39 PM

andeeee gravatar image

andeeee ♦
1.4k 3 6 18

(comments are locked)
10|3000 characters needed characters left
more ▼

answered Feb 11 '10 at 05:08 AM

Ashkan_gc gravatar image

Ashkan_gc
9.1k 33 56 117

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3698
x555
x16

asked: Feb 09 '10 at 11:07 AM

Seen: 1697 times

Last Updated: Feb 10 '10 at 12:53 PM