TweenPosition
TweenPosition Class Reference
TweenPosition类引用
Tween the object's position. More...
渐变(中间的意思)对象的位置。更多…
Inheritance diagram for TweenPosition:
继承关系图TweenPosition:
Static Public Member Functions静态公共成员函数 | |
static TweenPosition | Begin (GameObject go, floatduration, Vector3 pos) |
Start the tweening operation. 启动渐变操作。 | |
Public Attributes公共属性 | |
Vector3 | from |
Vector3 | to |
Protected Member Functions保护成员函数 | |
override void | OnUpdate (float factor) |
Actual tweening logic should go here.
实际的渐变逻辑应该去这里。
| |
Properties属性 | |
Vector3 | position [get, set] |
Detailed Description详细描述
Tween the object's position. 中间化 对象的位置。
Member Function Documentation成员函数文档
static TweenPosition TweenPosition.Begin | ( | GameObject | go, |
float | duration, | ||
Vector3 | pos | ||
) | [static] |
Start the tweening operation. 启动渐变操作。
override void TweenPosition.OnUpdate | ( | float | factor | ) | [protected, virtual] |
The documentation for this class was generated from the following file:这个类的文档从以下文件生成 :
- Assets/NGUI/Scripts/Tweening/TweenPosition.cs