PlasticTween
PlasticTween is a high-performance tween library for Unity that leverages ECS and Jobs for efficient animation handling. It supports both Entities and GameObjects with 12 easing functions, callbacks, and granular control via tagging system for pausing and stopping tweens selectively or globally.
Unity Project
Built with Unity 2019.1.0b10 · download the source from GitHub

Dependencies (45)
README
PlasticTween
Tween Library for Unity3D(ECS+JOBS)
Testing ECS+Jobs - Tween Library implementation. Works with Entity(as relationship) and GameObjects, also has 12 eases(Linear, Lerp, Quad, Cubic, Quint, Spring, Sine, Back, Bounce, Expo, Elastic, Circ, Square).
Requirements: Unity3D 2019.1.0b9 or later

Callbacks
Tween.Delay(1.0f, () => { // do things })
Tween.MoveEntity(...).OnTweenComplete(() => {});
Entities
Tween.MoveEntity(
entity,
duration,
targetPosition, originPosition,
EasyType.Spring,
-1,
true,
-1
);
GameObjects
Tween.MoveGameObject(
gameObject,
duration,
targetVector,
EasyType.Spring,
-1,
isPingPong
);
Pause and Stop
Tween.PauseByTag(int tagId);
Tween.UnPauseByTag(int tagId);
Tween.PauseAll();
Tween.UnPauseAll();
Tween.StopByTag(int tagId);
Tween.StopAll();
Similar projects:
ECS-Tween - https://github.com/Xerios/ECS-Tween
Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In