NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
UIButtonRotation Class Reference

Simple example script of how a button can be rotated visibly when the mouse hovers over it or it gets pressed. More...

Inheritance diagram for UIButtonRotation:

Public Attributes

Transform tweenTarget
 
Vector3 hover = Vector3.zero
 
Vector3 pressed = Vector3.zero
 
float duration = 0.2f
 

Detailed Description

Simple example script of how a button can be rotated visibly when the mouse hovers over it or it gets pressed.

Member Data Documentation

float UIButtonRotation.duration = 0.2f
Vector3 UIButtonRotation.hover = Vector3.zero
Vector3 UIButtonRotation.pressed = Vector3.zero
Transform UIButtonRotation.tweenTarget

The documentation for this class was generated from the following file: