Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PlasticApps/PlasticTween
Tween Library for Unity3D(ECS+JOBS)
https://github.com/PlasticApps/PlasticTween
Last synced: 3 months ago
JSON representation
Tween Library for Unity3D(ECS+JOBS)
- Host: GitHub
- URL: https://github.com/PlasticApps/PlasticTween
- Owner: PlasticApps
- License: mit
- Created: 2019-04-12T16:36:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-31T10:37:17.000Z (over 5 years ago)
- Last Synced: 2024-08-02T05:17:12.097Z (6 months ago)
- Language: C#
- Size: 847 KB
- Stars: 176
- Watchers: 16
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-opensource-unity - PlasticTween - Tween Library for Unity3D(ECS+JOBS). (Open Source Packages / DOTS)
- awesome-unity3d - PlasticTween - Tween Library for Unity3D(ECS+JOBS) (Open Source Repositories / DOTS)
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**
![Main screenshot](/Screenshots/Stresstest.png)
![SystemGroups](/Screenshots/SystemGroups.png)_Callbacks_
````
Tween.Delay(1.0f, () => { // do things })
Tween.MoveEntity(...).OnTweenComplete(() => {});
````_Entities_
```csharp
Tween.MoveEntity(
entity,
duration,
targetPosition, originPosition,
EasyType.Spring,
-1,
true,
-1
);
```_GameObjects_
```csharp
Tween.MoveGameObject(
gameObject,
duration,
targetVector,
EasyType.Spring,
-1,
isPingPong
);
```_Pause and Stop_
```csharp
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