• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by Kaim · Oct 16, 2013 at 07:59 PM · tutorialfonttextureing

how to draw a texture to GUI text?

hello. I wonder how it is that you draw a texture to the GUI text for effects in Photoshop,I try to put a texture that is here below:

alt text

But can not see the characters that correspond (assuming HP below should see numbers 100 / 100)alt text If someone had a script, a unitypackage or a tutorial on how to do I'd appreciate it a lot since I have searched and searched but can not find anything.

problem.jpg (14.9 kB)
droidsans-boldfont.png (84.3 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by YoungDeveloper · Oct 16, 2013 at 08:04 PM

What exactly you want to do ? As i understand you want to use custom looking letters and numbers in your gui ? Then just create custom guistyle and import new downloaded font.

The static part (circle an woman character) could be an ordinary draw texture http://docs.unity3d.com/Documentation/ScriptReference/GUI.DrawTexture.html with transparent lower part and around the circle. Then you manually position gui text part under that circle.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kaim · Oct 16, 2013 at 08:35 PM 0
Share

Thank you for answer me but only blue symbols below are GUI text, texture Gui The rest is not look at that. also do not understand much the script, I dedicate myself to the graphics so it does not do me much unity script manual. my question is geared more to that if there is any tutorial, Unitypackage or a script to create effects in the letters and not the typical default fonts of Unity.

Your answer

Hint: You can notify a user about this post by typing @username

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

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

15 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Burg Zerg Arcade Tutorial Help 3 Answers

Car movement script ? 1 Answer

Stuck in Car tutorial - Wheels 0 Answers

Hovercraft Non Working (Stability) 0 Answers

is it possible to use the enter and exit script to enter a turret? 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges