Author Topic: showing/hiding sprites  (Read 3236 times)

perloe

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
showing/hiding sprites
« on: March 14, 2013, 11:44:25 AM »
Is there any way to dynamically hide or show UISprites?  I tried setting the visibility flag but that doesn't seem to work.  I also added a renderer object and set the render to false but that didn't work either.

I just need to be able to have sprites render or not. Is there a 'visible' flag I'm missing somewhere?

Thanks!

perloe

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: showing/hiding sprites
« Reply #1 on: March 14, 2013, 02:03:27 PM »
So I figured this out.  Seems like such an obvious solution: just set the UIScript enabled = false;