Tween Kit

March 25, 2024 ยท View on GitHub

Enhance DOTween with Tween Kit: Seamless, modular components for effortless Tweening.

Contents

Features

  • 25 Fully Modular Components
  • Preview tweens without entering play mode
  • Edit and view paths in scene view
  • Helpful messages within inspector
  • Utility classes for generating Catmull-Rom and Cubic Bezier Splines
  • Easily create your own compoents using custom script templates

Author

Highlights

Organized Helpbox Scene Visualization Scene Tools

Path Manipulation

Create Segment

Creating

Insert Segment

Inserting

Delete Segment

Deleting

Prerequisite

  • DOTween
  • DOTween asmdef (Tools -> Demigiant -> DOTween Utility Panel -> Create ASMDEF)

Installation

  • Add Tween Kit Package in your project
  • There will be some errors, ignore them. Add DOTween asmdef reference in Assets/Plugins/Tween Kit/Runtime/abdurrafay.tweenkit.asmdef (Remove any previous references)

Demos

https://github.com/AbdurRafay-Nasir/DOTween-Modular/assets/145528502/2620ec8c-928d-4d7c-9d01-5acf02c5b774

https://github.com/AbdurRafay-Nasir/DOTween-Modular/assets/145528502/bdc1e2aa-2b23-4165-ada6-b253874bef6b

Creating New Components

1-Create Extension 2-Create Component 3-Generated Code 4-Add Properties 5-CreateTween() 6-Show Inspector 7-Create Editor Script 8-Generated Editor Code 9-CustomEditor 10-Get Reference to Properties 11-Create Size Toggle 12-DrawSizeSettings() 13-Foldout 14-Target Size 15-Show Component 16-Settings for SR 17-Congrats 18-Important Info