Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DamDam

Pages: [1]
1
Support / Re: Change color a part of tk2dtextmesh ?
« on: May 21, 2015, 10:43:53 pm »
Thx for your answer. That didn't work because  i've not created my font in 32 bits. Now with a new created font it works :)

2
Support / Re: Change color a part of tk2dtextmesh ?
« on: May 19, 2015, 08:40:55 pm »
Hi and sorry for replying to an old topic (maybe you prefer user start a new topic?) but my problem fits totally with this post.

I want to make a text for a dialog and i want the character name appearing in a different color.

I follow what you re saying in this topic but my text stay in white color.

In my code i put this line :
Code: [Select]
window_text.GetComponent<tk2dTextMesh>().text = " ^cf00fsample ";
But that doesn't work for me.

Note that my font is a personnal font i ve created following your tuto on the site. And my textmesh is set as 'formating';

Have you an idea about what i've miss to make it work ?

(thx in advance and sry for my bad english)

Pages: [1]