Is there a way in the new GUI system of the 4.6 beta to make the text not look so bland? With this,I mean if there is the possibility to put shadows, strokes or any other effect in the text because I couldn’t find these options anywhere, I want to use it for a simple coin counter ala Mario Bros but right now it just looks so… bland.
2 Answers
2These are built into components. You can add Shadow, Outline (and possibly other) effects by adding components of the same name. Just hit “Add component” on GameObject containing Text component and start typing the names above.
Thanks, this is great info. I am using it in a game to make my menus look better, and I am going to update the last game I was working on with this as well.
– MosyFirst time I've actually found the exact answer I'm looking for in the search function...lol @Raimis ... thanks
– Digital-PhantomJust had to say thank you for pointing this out. I've been going through pages of threads and looking all over the asset store for hours looking for an easy fix to this and finally ended up here. This needs to be much more widely known.
– SBullWe’ve had the need to make texts look more interesting for a while now, too. So we decided to make a package out of them.
Same as with the default Shadow and Outline, they are applied to the standard Unity UI Text. Hopefully, they’ll be useful for many developers:
Under the Text(Script) component there is an "Effect Style" option where you can choose Shadow or Outline or None.
– HarshadK