NGUI v2.0 Interaction_5:UIButtonOffset UI按钮偏移类

来源:互联网 发布:psv三国志12网络对战版 编辑:程序博客网 时间:2024/06/14 19:45

UIButtonOffset

 

 

UIButtonOffset Class Reference

UIButtonOffset类引用

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

当鼠标悬停在一个按钮之上或点击它时   按钮明显的偏移    的简单示例脚本。更多…

List of all members.

Public Attributes公共属性

Transform tweenTargetVector3 hover = Vector3.zeroVector3 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.

当鼠标悬停在一个按钮之上或点击它时   按钮明显的偏移    的简单示例脚本。更多…


The documentation for this class was generated from the following file:
  • Assets/NGUI/Scripts/Interaction/UIButtonOffset.cs
原创粉丝点击