Skip to content

PlasticApps/PlasticTween

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Main screenshot SystemGroups

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

About

Tween Library for Unity3D(ECS+JOBS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages