Unity3d dains Daikon Forge GUI Chinese tutorial-7-use of advanced control slider, unity3ddaikon
(The first launch of the game manniu) Hello everyone, I'm Sun Guangdong. The official website provides professional video tutorials. However, the tutorial still provides better text for viewing and searching.
3.6 slider
Let's talk about the previous image. Object
Appearance:
Atlas:
Track Slider's Track Image
The main color of the Back color slider.
Orientation slider operation direction (horizontal and vertical)
Behavior:
If Right to Left is selected, the minimum MinValue is at the rightmost, and the maximum value is at the leftmost. If this attribute is not selected, it is the opposite (note that this attribute takes effect only when Orientation selects Horizontal ).
Min Value minimum
Max Value maximum
The smallest unit of movement of a Step.
Scroll Size: the minimum unit that the slider moves when you select and Scroll the middle button.
The position of the current Slider of the Value.
Controls:
Thumb slider (sprite object)
Offset x and y are Offset relative to the default position, for example, the second image above:
Generally, the horizontal slider must change only the Y value, and the vertical slider must change only the X value. Otherwise, it is also wrong.
Progress is better than a Sprite object. With it, it is more like the Slider Act as Slider attribute when I introduce the Progress bar. (Note: This object must be a sub-object of the slider)
Fill Mode is the filling method of object Progress. The difference between stretch and Fill is described in the Progress Bar control.
Padding margin.
Ask if the Daikon Forge GUI tutorial is about GUI or NGUI. Are they the same?
This is a ui plug-in. A third-party plug-in similar to ngui has nothing to do with the GUI of unity itself.