• 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 /
  • Help Room /
avatar image
0
Question by alvin0311 · Aug 14, 2018 at 07:22 AM · textcanvas3d text

[Solved] Multiple text on a single GameObject

Hey everyone,

I'm new to Unity, and I'm wondering if it's possible to attach multiple texts on a GameObject, especially in 3D space. What I'm trying to achieve is as the image follows, a single GameObject with multiple texts floating around it and rotate/move along with the dog.

I tried adding text component to the GameObject, but it doesn't let me add multiple texts. Any help would be appreciated!

Edit: [Solved] Thanks to Hellium, the solution is in the comments section

dog.jpg (42.6 kB)
Comment
Add comment · Show 4
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 Hellium · Aug 14, 2018 at 07:46 AM 0
Share

Why do you want to add multiple Texts to a single GameObject? I believe that having multiple GameObjects with a single Text component will be better. You will have more control on the position of the floating labels.

avatar image alvin0311 Hellium · Aug 14, 2018 at 09:25 AM 0
Share

Cause I'm dealing with 200+ 3D bones and thought that it'd be easier if I could store information based on each GameObject, so each bone could have their info attached to that specific bone, that floats around the single bone. Now that I think about what you said again, is it actually better to have multiple children GameObjects for each bone and have info attached to said children?

avatar image Hellium alvin0311 · Aug 14, 2018 at 10:28 AM 1
Share

I don't know if it would be "better", but I believe it will be easier to place the various labels around the object instead of having a single Text with all your labels. You will have to deal with space characters to make sure the label does not go over your object, I guess it's feasible but a little bit more complicated.

Take a look at this question, it may help

Show more comments

0 Replies

· Add your reply
  • Sort: 

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

164 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 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 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 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 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 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 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 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 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 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 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

Text in UI disappears when clicked on 0 Answers

How to keep text sharp with a scaled UI ? 0 Answers

Type 'Text' does not contain a definition for 'text' 1 Answer

3d Text update. How its work? 1 Answer

Script attached on prefab; cannot attach "text" component 1 Answer

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