|
QuadUI 1.2.9 public beta
Run-time API for QuadUI
|
Properties | |
| Vector2 | rollOverUV [get] |
| Vector2 | pressUV [get] |
| Vector2 | normalUV [get] |
Basic Button with Up, Down and Over states. These states are stored as Vector2's in a Vector2[3], when you generate your quad from the tool. The appropriate UV coordinates are labeled in name-basis getters in this class where "Normal" (Up) is index 0, "Press" (Down) is 1, and "RollOver" is 2.
This class is sealed and cannot be extended.
Note: Under iOS/Android Build Settings, this class will only have Up and Down states, as the Over/Out events are not communicated.
Vector2 Button2D.normalUV [get] |
Returns a Vector2 representation of the top-left UV coordinate for the "Normal" (Up) button state. This is the same as frames[0]
Vector2 Button2D.pressUV [get] |
Returns a Vector2 representation of the top-left UV coordinate for the "Press" (Down) button state. This is the same as frames[1]
Vector2 Button2D.rollOverUV [get] |
Returns a Vector2 representation of the top-left UV coordinate for the "RollOver" button state. This is the same as frames[2]