x


How do you increase GUI-Text font size ???

How do you increase GUI-Text font size ???

Also, how do you select the GUI-Text in the code?

more ▼

asked Jun 25 '10 at 01:30 PM

MikezNesh gravatar image

MikezNesh
843 64 74 93

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

1 answer: sort voted first

The font-size is defined in the import settings of the font you're using. See also: Importing True Type Font files (.ttf), so if you want different font-sizes, what you'd usually do is duplicate the font (select font, hit cmd+D) and import it with different font-sizes.

Regarding your other question: I'm not sure if selecting text works in GUI Text at all. It does work when using UnityGUI so unless you're on iPhone it may make sense to use that instead. On the iPhone, UnityGUI may drag down performance so in that case that may not be an option for you.

EDIT: On iPhone, it really depends: If this is in a menu (not in the main game), using UnityGUI should be just fine. However, you could also use Objective-C to do a Cocoa-based GUI.

more ▼

answered Jun 25 '10 at 01:35 PM

jashan gravatar image

jashan
10.3k 25 43 117

I am doing iPhone so what do I do?

Jun 25 '10 at 01:57 PM MikezNesh

How do you duplicate the font?

Jun 26 '10 at 01:50 AM MikezNesh

On iPhone, it really depends: If this is in a menu (not in the main game), using UnityGUI should be just fine. However, you could also use Objective-C to do a Cocoa-based GUI.

Duplicating the font is easy on the Mac: Just select the font and hit cmd+D

Jun 26 '10 at 02:28 PM jashan
(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:

x2013
x295
x250
x30

asked: Jun 25 '10 at 01:30 PM

Seen: 4574 times

Last Updated: Jun 26 '10 at 02:29 PM