UIButtonScale
UIButtonScale Class Reference
UIButtonScale类引用
Simple example script of how a button can be scaled visibly when the mouse hovers over it or it gets pressed.More...
当鼠标悬停在一个按钮之上或点击它时 按钮明显的缩放 的简单示例脚本。更多…
List of all members.
Public Attributes公共属性 | |
Transform | tweenTarget |
Vector3 | hover = new Vector3(1.1f, 1.1f, 1.1f) |
Vector3 | pressed = new Vector3(1.05f, 1.05f, 1.05f) |
float | duration = 0.2f |
Detailed Description详细描述
Simple example script of how a button can be scaled visibly 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/UIButtonScale.cs
UIButtonSound
UIButtonSound Class Reference
UIButtonSound类引用
Plays the specified sound. More...
播放指定的声音。更多…
List of all members.
Public Types公共类型 | |
enum | Trigger |
Public Attributes公共属性 | |
AudioClip | audioClip |
Trigger | trigger = Trigger.OnClick |
float | volume = 1f |
Detailed Description详细描述
Plays the specified sound. 播放指定的声音。
The documentation for this class was generated from the following file:
- Assets/NGUI/Scripts/Interaction/UIButtonSound.cs