Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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 /
avatar image
3
Question by Aishwa · Nov 14, 2016 at 10:10 AM · panel3dtextlabels

How to give Labels to object in unity3d

Hi,

I am trying to attach labels to objects with a line coming from objects to label..... Attached sample for reference.... ![alt text][1]

The Line should be between object and the Label. The Label is provided with a text and a rectangular panel .

I am actually designing a 3d Human Eye that needs this type of labelling. Is there a way so that I can do that thing out....Please help me out.

1.png (93.8 kB)
Comment
Add comment · Show 2
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 Aishwa · Nov 14, 2016 at 12:30 PM 0
Share

Hi, alt text

  1. I have applied the canvas to a empty Game Object

  2. I have different set of properties in Canvas and you have other set of properties. may i know the reason?

  3. $$anonymous$$oreover my canvas is not visible in the Game View

capture1.png (22.8 kB)
avatar image itsharshdeep Aishwa · Nov 14, 2016 at 01:29 PM 0
Share
 If (youAreTalkingTo$$anonymous$$e){
   - $$anonymous$$indly follow the hierarchy & reply on the particular person's answer
   - Your and my options are same. Currently, I have selected 'ScreenSpaceOverlay' So maybe you are saying this. 
   }

Rest, you just need to make simple Canvas as we normally made i.e. GameObjet $$anonymous$$enu > UI > Canvas

  • Then Select World Space Canvas

  • Then Rescale as per your need DONE :)

If still you have any doubt then you can check this video :

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by itsharshdeep · Nov 14, 2016 at 10:53 AM

Hi,

Use World space canvas .. and make them the child of the 3D model. You can use multiple or single canvas as per your convinent. With the use of multiple canvases make them the child of the particular organ. ( it's not compulsory but just for the comfortable implementation)

Tip: Rescale the canvas to not to blur the text and reduce the hard work of resizing and all.

alt text


screen-shot-2016-11-14-at-41959-pm.png (50.8 kB)
Comment
Add comment · Show 4 · 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 Aishwa · Nov 15, 2016 at 09:59 AM 1
Share

alt text

I wanted the labelling in this way as shown in the figure. Can you please be more precise? I understood the labelling whaty you have said. What about the line between the label and the object? How to draw it?

label1.jpg (222.2 kB)
avatar image itsharshdeep Aishwa · Nov 15, 2016 at 06:26 PM 2
Share

There are number of ways to do this. I don't know you need this dynamically or static labels.


So first dynamically:

  • I also need to use this in one of my apps. In that, I have a box. I used to divide that into four quadrants. So when the user clicked on any of the quadrants then I instantiated the label with a particular angle and give the position of the hit to the label. I have also added the Billboard script to the instantiated object so that they always look towards the camera

The second technique is Static/predefined labels.

  • Just make the 3D label's canvas and add wherever you want.

Note: The pivot of the canvas needs to be wisely managed. Refernce

avatar image zk909698 itsharshdeep · Feb 10, 2019 at 09:17 PM 0
Share

Hi Itsharedeep Can You Plz Help me To Label the Same way ,actually i wanna Label 3d Object of Heart same as the Picture In ABOVE QUESTION Can you Plz help me ?

Show more comments
avatar image
2

Answer by Aishwa · Nov 17, 2016 at 07:20 AM

Thanks @itsharshdeep

Can anyone please provide a youtube link which clearly explains how to give labelling as shown in the above picture. Am working on it from many days.

Please help me out :)

Comment
Add comment · Show 4 · 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 rahulalpd · May 06, 2017 at 07:25 AM 0
Share

@Aishwa Did you get the correct answer? I am also working on it. please let me know How to give labeling as shown in that above Brain model. Thanks in advanced.

avatar image fatimazulfiqar03 rahulalpd · Apr 21, 2019 at 08:35 AM 0
Share

I am also working on a similar type of project and i also need to do labeling on different parts of organ. dd you find the solution for it? as i am new to unity and have no idea how to do it exactly

avatar image farahuzma03 · Feb 05, 2018 at 03:35 PM 0
Share

Have you found it?

avatar image fatimazulfiqar03 farahuzma03 · Apr 21, 2019 at 08:45 PM 0
Share

I am also working on a similar type of project and i also need to do labeling on different parts of organ. dd you find the solution for it? as i am new to unity and have no idea how to do it exactly

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.

Follow this Question

Answers Answers and Comments

9 People are following this question.

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

Related Questions

How can I use 3dtext that stays behind an object AND receives a blob shadow from that object? 0 Answers

Extruded 3D Text 1 Answer

Change camera on text click? 1 Answer

How to move 3D Text according to the GameObject ? 1 Answer

I cannot change 3D Text (Text Mesh) color 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges