1. Submit bugs to enter our 5.4 Beta Sweepstakes. Read more about it here.
  2. Unity 5.4 public beta is now available for all users. Grab the build and visit the 5.4 beta forum.
  3. Missing a module? More about the new installer in 5.3 here.
  4. 4.7.1 released for Xcode 7.3 support. Thread here.

GUI slider

Discussion in 'Extensions & OnGUI' started by RingOfStorms, Jan 29, 2011.

  1. RingOfStorms

    RingOfStorms

    Joined:
    Oct 23, 2010
    Messages:
    584
    So Im not sure how to do this so im going to ask here. I'm trying to use a GUI slider to change to speed of the game. What would this script look like? So like you would change the timescale from a % of 1 to 3, so ur bar would be doing all numbers between 1 and 3, speeding it up as it is farther scrolled.
    Note: I want a horizontal slider, so if u post code make it horizontal for ease of use :)
     
  2. sangi93

    sangi93

    Joined:
    Aug 4, 2010
    Messages:
    77