TweenColor
TweenColor Class Reference
TweenColor类引用
Tween the object's color. More...
渐变对象的颜色。更多…
Inheritance diagram for TweenColor:
继承关系图TweenColor:
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
本文介绍TweenColor类的使用方法,该类用于在游戏中渐变对象的颜色。文章详细解释了如何通过TweenColor.Begin静态方法启动渐变操作,并提供了OnUpdate方法的说明,帮助读者了解如何更新对象的颜色。
3113

被折叠的 条评论
为什么被折叠?



