Author Topic: Sprites are not drawn  (Read 4202 times)

Codewalker

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 21
    • View Profile
Sprites are not drawn
« on: July 11, 2012, 08:12:35 AM »
I use NGUI to make some notification windows in my game. I use the 3D-GUI and have several panels attached, that are centered and displayed via NGUITools.SetActive . To make it more fancy, I use an animation of the Scaling.
For most notifications, it works. But sometimes, I only get to see my label with text text, but no other sprite (background, etc.). In the Scene View I can see the bounding boxes, but nothing is painted. Where is my mistake?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Sprites are not drawn
« Reply #1 on: July 11, 2012, 01:44:37 PM »
You can't have a starting scale of 0. It's invalid. You need to use a low but valid value instead, such as 0.01.