8 lines
267 B
C#
8 lines
267 B
C#
![]() |
namespace AlicizaX.AnimationFlow.Runtime {
|
||
|
public class TranslateBy : TranslateTo {
|
||
|
public override void OnUpdate(float dt) {
|
||
|
target.localPosition = Easing.Ease(easyType, enterValue, enterValue + to, elapsedTime / duration);
|
||
|
}
|
||
|
}
|
||
|
}
|