|
QuadUI 1.2.9 public beta
Run-time API for QuadUI
|
Public Member Functions | |
| void | Scale (float percent) |
Public Attributes | |
| ScaleAxis | axis = ScaleAxis.Horizontal |
| float | minLength = 1 |
| float | maxLength = 100 |
| Quad2D | cap1 |
| Quad2D | cap2 |
| Quad2D | bar |
Properties | |
| float | percentage [get] |
This class is great for progress and health bars. You can change the size of the middle segment (bar) by the function Scale(float percent)
| void ResizableBar2D.Scale | ( | float | percent | ) |
modifies the scale of the middle segment. percent is represented as a float 0 to 1
| ScaleAxis ResizableBar2D.axis = ScaleAxis.Horizontal |
| float ResizableBar2D.maxLength = 100 |
| float ResizableBar2D.minLength = 1 |
float ResizableBar2D.percentage [get] |