Method | Description | |
---|---|---|
Awake ( ) : void | ||
NonLinearInterpolateTo ( |
Interpolates smoothly to a target position.
|
|
Reset ( ) : void |
Stops the transform in place and terminates any animations.
|
|
SetTargetLocalRotation ( |
Sets the target local rotation for the transform and if rotation wasn't already animating, fires the InterpolationStarted event.
|
|
SetTargetLocalScale ( |
Sets the target local scale for the transform and if scale wasn't already animating, fires the InterpolationStarted event.
|
|
SetTargetPosition ( |
Sets the target position for the transform and if position wasn't already animating, fires the InterpolationStarted event.
|
|
SetTargetRotation ( |
Sets the target rotation for the transform and if rotation wasn't already animating, fires the InterpolationStarted event.
|
|
SnapToTarget ( ) : void |
Snaps to the final target and stops interpolating
|
|
StopInterpolating ( ) : void |
Stops the interpolation regardless if it has reached the target
|
|
Update ( ) : void |
public static NonLinearInterpolateTo ( |
||
start | The starting position. | |
target | The destination position. | |
deltaTime | float | Caller-provided Time.deltaTime. |
speed | float | The speed to apply to the interpolation. |
return |
public SetTargetLocalRotation ( |
||
target | The new target local rotation for the transform. | |
return | void |
public SetTargetLocalScale ( |
||
target | The new target local rotation for the transform. | |
return | void |
public SetTargetPosition ( |
||
target | The new target position to for the transform. | |
return | void |
public SetTargetRotation ( |
||
target | The new target rotation for the transform. | |
return | void |