TweenColor
TweenColor Class Reference
TweenColor类引用
Tween the object's color. More...
渐变对象的颜色。更多…
Inheritance diagram for TweenColor:
继承关系图TweenColor:
![](https://img-my.csdn.net/uploads/201208/03/1343994656_6249.jpg)
Static Public Member Functions静态公共成员函数 | |
static TweenColor | Begin (GameObject go, floatduration, Color color) |
Start the tweening operation. 静态公共成员函数 | |
Public Attributes公共属性 | |
Color | from = Color.white |
Color | to = Color.white |
Protected Member Functions保护成员函数 | |
override void | OnUpdate (float factor) |
Interpolate and update the color. 插入和更新的颜色。 | |
Properties属性 | |
Color | color [get, set] |
Current color. 当前颜色。 |
Detailed Description详细描述
Tween the object's color. 中间对象的颜色。
Member Function Documentation成员函数文档
static TweenColor TweenColor.Begin | ( | GameObject | go, |
float | duration, | ||
Color | color | ||
) | [static] |
Start the tweening operation. 启动渐变操作。
override void TweenColor.OnUpdate | ( | float | factor | ) | [protected, virtual] |
Interpolate and update the color. 插入和更新的颜色。
Implements UITweener.实现 UITweener。
Property Documentation属性文档
Color TweenColor.color [get, set] |
Current color. 当前颜色。
The documentation for this class was generated from the following file:这个类从以下文档生成
- Assets/NGUI/Scripts/Tweening/TweenColor.cs