NGUI: Next-Gen UI kit
3.7.2
|
Simple example script of how a button can be rotated visibly when the mouse hovers over it or it gets pressed. More...
Public Attributes | |
Transform | tweenTarget |
Vector3 | hover = Vector3.zero |
Vector3 | pressed = Vector3.zero |
float | duration = 0.2f |
Simple example script of how a button can be rotated visibly when the mouse hovers over it or it gets pressed.
float UIButtonRotation.duration = 0.2f |
Vector3 UIButtonRotation.hover = Vector3.zero |
Vector3 UIButtonRotation.pressed = Vector3.zero |
Transform UIButtonRotation.tweenTarget |