Author Topic: Can I add a label to a plane?  (Read 4589 times)

uberalles

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Can I add a label to a plane?
« on: February 24, 2014, 03:50:03 PM »
I have streets dividing neighborhoods of buildings and I want to be able to add a label that shows the name of the street. I'm trying to get it so it looks like the label is flat on top of the street, almost like a watermark. Is this even possible? How can I get a label out of the UI Root hierarchy and make it a child of the street object? Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Can I add a label to a plane?
« Reply #1 on: February 24, 2014, 04:55:21 PM »
1. Create a game object in your world.
2. Attach the UIPanel script to it.
3. With it selected, ALT+SHIFT+L to add a label child.
4. Scale the UIPanel object until you get the desired size.

uberalles

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Can I add a label to a plane?
« Reply #2 on: February 24, 2014, 07:02:17 PM »
Thanks Aren, you are a huge help.