UIButtonColor
UIButtonColor Class Reference
UIButtonColor类引用
Simple example script of how a button can be colored when the mouse hovers over it or it gets pressed.More...
当鼠标悬停在一个按钮之上或点击他时 按钮的着色 的简单示例脚本。更多…
Public Attributes公共属性 | |
GameObject | tweenTarget |
Color | hover = new Color(0.6f, 1f, 0.2f, 1f) |
Color | pressed = Color.grey |
float | duration = 0.2f |
Detailed Description详细描述
Simple example script of how a button can be colored when the mouse hovers over it or it gets pressed.
当鼠标悬停在一个按钮之上或点击他时 按钮的着色 的简单示例脚本。
The documentation for this class was generated from the following file:
- Assets/NGUI/Scripts/Interaction/UIButtonColor.cs