![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
Interface for things that can tween. More...
Public Member Functions | |
void | TweenWithTime (TweenMode mode, T target, P destination, float time, Action< T, P > callback) |
Tweens target to destination over time. More... | |
void | TweenWithRate (TweenMode mode, T target, P destination, float rate, Action< T, P > callback) |
Tweens target to destination at rate. More... | |
void | Stop () |
Stops the active tween. More... | |
Properties | |
bool | Active [get] |
Is tweener currently tweening. More... | |
bool | UseGameTime [get, set] |
If true use TimeManager.FrameTime false use Unitys Time.deltaTime More... | |
Interface for things that can tween.
void PlatformerPro.Tween.ITweener< T, P >.Stop | ( | ) |
Stops the active tween.
void PlatformerPro.Tween.ITweener< T, P >.TweenWithRate | ( | TweenMode | mode, |
T | target, | ||
P | destination, | ||
float | rate, | ||
Action< T, P > | callback | ||
) |
Tweens target to destination at rate.
mode | how to tween. |
target | Target object. |
destination | Destination position, final value, etc. |
rate | How fast to do the tween. |
callback | Called when tween completes. |
void PlatformerPro.Tween.ITweener< T, P >.TweenWithTime | ( | TweenMode | mode, |
T | target, | ||
P | destination, | ||
float | time, | ||
Action< T, P > | callback | ||
) |
Tweens target to destination over time.
mode | how to tween. |
target | Target object. |
destination | Destination position, final value, etc. |
time | Time to take to do the tween. |
callback | Called when tween completes. |
|
get |
Is tweener currently tweening.
|
getset |
If true use TimeManager.FrameTime false use Unitys Time.deltaTime
true
if use game time; otherwise, false
.