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

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

Inheritance diagram for UIButtonOffset:

Public Attributes

Transform tweenTarget
 
Vector3 hover = Vector3.zero
 
Vector3 pressed = new Vector3(2f, -2f)
 
float duration = 0.2f
 

Detailed Description

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

Member Data Documentation

float UIButtonOffset.duration = 0.2f
Vector3 UIButtonOffset.hover = Vector3.zero
Vector3 UIButtonOffset.pressed = new Vector3(2f, -2f)
Transform UIButtonOffset.tweenTarget

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