Author Topic: How to use progress bars?  (Read 3536 times)

Medico

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
How to use progress bars?
« on: January 01, 2015, 09:26:22 AM »
Hi,

Needing help on how to add my own value float variable to have an effect on the progress bar. Is it similar to controlling the text of a label at runtime by first getting the label/progress bar component then setting the value of the text/progress.

Thanks,
Jack Lewis

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to use progress bars?
« Reply #1 on: January 01, 2015, 07:23:01 PM »
slider.value = 0.5f;

Medico

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Re: How to use progress bars?
« Reply #2 on: January 01, 2015, 09:41:14 PM »
Cheers