Author Topic: Progress Bars don't work?  (Read 8031 times)

gekido

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Progress Bars don't work?
« on: April 05, 2013, 02:35:23 PM »
Hello,

Just created a brand-new project, loaded the latest NGUI (from the asset store), and have a very simple scene created with a progress bar (as the only widget currently).

The issue I'm running into is that the progress bars don't seem to be working (at all)?  adjusting the value slider in the editor doesn't affect the progress bar foreground size at all.

Has anyone else seen this?  The version I'm using is 2.5.1

Thanx

gekido

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: Progress Bars don't work?
« Reply #1 on: April 05, 2013, 03:24:11 PM »
Strange.  Just reverted back to an older version of NGUI, and the same problem occurs.  Is this an issue with the new 4.1.x Unity?

[update:  Just figured 'something' out - it appears that adjusting the 'value' slider in the editor only has an effect now when the game is being run, instead of working in 'edit' mode as it did previously...]

Is this intended behavior or has Unity changed something that prevents the UI from being usable at edit time (for testing)?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Progress Bars don't work?
« Reply #2 on: April 05, 2013, 10:59:54 PM »
NGUI simplified sliders a while back, getting rid of the need to specify the "full size" property. In order for it to work the sprite must remain at 100% at edit mode.

gekido

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: Progress Bars don't work?
« Reply #3 on: April 05, 2013, 11:26:04 PM »
ok, sounds good. didn't think that it had been that long since I had updated, but simplifying things is usually for the better, so not a prob.

Thanx
- Mike