Author Topic: Can't see labels  (Read 8113 times)

Celgonath

  • Guest
Can't see labels
« on: January 10, 2013, 09:47:45 AM »
Hi, I'm new to NGUI and have an issue with labels. I've successfully created basic buttons with custom fonts using BMFont, but the labels I try to create just won't show...

I've followed the steps used in cgcookie (http://cgcookie.com/unity/cgc-series/getting-started-with-ngui-for-unity/#header) but with different results. Is this an issue with Unity 4 or am I ignoring some basics settings due to lack of experience with NGUI?

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
Re: Can't see labels
« Reply #1 on: January 10, 2013, 09:54:55 AM »
What is the scale of your label and which font do you use ?
Graphicstream Dev.

Celgonath

  • Guest
Re: Can't see labels
« Reply #2 on: January 10, 2013, 09:57:28 AM »
Lucida Calligraphy 42

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
Re: Can't see labels
« Reply #3 on: January 10, 2013, 10:00:44 AM »
Can you send the hierarchy of your scene + a screen of the screen + the inspector with the label selected ?
Graphicstream Dev.

Celgonath

  • Guest
Re: Can't see labels
« Reply #4 on: January 10, 2013, 10:31:31 AM »
Okay, a screenshot with label selected is attatched

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
Re: Can't see labels
« Reply #5 on: January 10, 2013, 10:43:35 AM »
I can't see the inspector on the screen, and you said that the font was working on button right ?
Graphicstream Dev.

Celgonath

  • Guest
Re: Can't see labels
« Reply #6 on: January 10, 2013, 11:01:43 AM »
Okay, I use a 1920x1040 resolution so it might've got clipped. This i a new one in 1024x768 with a button added

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
Re: Can't see labels
« Reply #7 on: January 10, 2013, 11:10:54 AM »
Can you look at the Label present in the button and see the inspector of it to look at differences ?
Graphicstream Dev.

Celgonath

  • Guest
Re: Can't see labels
« Reply #8 on: January 10, 2013, 11:16:00 AM »
Other than the Y-coordinates I can't see any difference

Celgonath

  • Guest
Re: Can't see labels
« Reply #9 on: January 10, 2013, 11:19:40 AM »
Here is a a screen of the button label inspector

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Can't see labels
« Reply #10 on: January 10, 2013, 12:54:21 PM »
Your label's color has alpha of 0. That makes it invisible.

Celgonath

  • Guest
Re: Can't see labels
« Reply #11 on: January 10, 2013, 01:09:54 PM »
Haha, noob indeed. Thanks man :)