Hello everyone!
I want to share the asset I made. I struggled to integrate DOTween with UVS, so I created a collection of graphs I’ve put a lot of time into to perfect. I thought it could be useful to some people as well.
You can have a look here: https://assetstore.unity.com/packages/tools/visual-scripting/uvs-dotween-engine-280532
Are you using Unity’s visual scripting and want to integrate DOTween into your workflow? Then save hours of your precious time by using this visual scripting template graph system that makes using DOTween with Unity’s visual scripting a breeze.
Includes functionality that is otherwise difficult to accomplish using Unity’s visual scripting and not covered in the official DOTween documentation.
- Conveniently use all DOTween core shortcuts such as DOMove, DORotate, DOColor, and more.
- Set ease type. Linear, In Out Sine, In Out Elastic, and many more to achieve the animation style you want.
- Timer to know how long the tween has been running for.
- TweenComplete custom event to use anywhere in your graphs that triggers when a specific tween has finished playing.
- Pause/unpause tween.
- Count tween loops.
- Check whether the tween is playing or not anywhere in your graphs using an application variable.
- Set loop type and loop count.
- Kill tween.
You will simply be copy-pasting the core subgraph into any part of your project where you need DOTween to animate things, only making minor adjustments (type of DO, target object, loop count, ease type, etc.) as necessary to suit your needs. There is no need for any complicated coding; the primary purpose of this asset is to handle that for you.
Clean, commented, grouped, and color-coded code to help you easily understand what’s happening. No spaghetti guaranteed!
Easy setup with steps in the documentation and an example scene.
Unity Forum Thread: DOTween + Unity's Visual Scripting
Feel free to contact me if you have any questions: https://suspiciouspenguin.simple.ink/