• normalized(见 [标题编号.])
• Normalize(见 [标题编号.])
• one(见 [标题编号.])
• operator !=(见 [标题编号.])
• operator *(见 [标题编号.])
• operator +(见 [标题编号.])
• operator -(见 [标题编号.])
• operator /(见 [标题编号.])
• operator =(见 [标题编号.])
• operator Vector2(见 [标题编号.])
• operator Vector3(见 [标题编号.])
• right(见 [标题编号.])
• Scale(见 [标题编号.])
• sqrMagnitude(见 [标题编号.])
• this [int index(见 [标题编号.])]
• ToString(见 [标题编号.])
• up(见 [标题编号.])
• Vector2(见 [标题编号.])
• x(见 [标题编号.])
• y(见 [标题编号.])
• zero(见 [标题编号.])
Vector2(见 [标题编号.]).MoveTowards 移向
static function MoveTowards (current : Vector2, target : Vector2, maxDistanceDelta : float) : Vector2
Description描述
Moves a point current towards target.
当前的地点移向目标。
This is essentially the same as Vector2.Lerp(见 [标题编号.]) but instead the function will ensure that the speed never exceeds maxDistanceDelta. Negative values of maxDistanceDelta pushes the vector away from target.
这个函数基本上和Vector2.Lerp(见 [标题编号.])相同,但是该函数将确保我们的速度绝不会超过maxDistanceDelta。maxDistanceDelta的负值从目标推开向量。
最后修改:2011年1月4日 Tuesday 21:36