Skip to content

Tweening Components is a package that provides a set of preset scriptable objects to animate UGUI in Unity.

License

Notifications You must be signed in to change notification settings

Tirtstan/Tweening-Components

Repository files navigation

Tweening Components

Powered by DOTween. Tweening Components is a package that provides a set of preset scriptable objects to animate UGUI in Unity.

Installation

https://github.com/Tirtstan/Tweening-Components.git

Dependencies

  • TextMeshPro
  • DOTween

1. Set Up DOTween

In your Unity project, install DOTween.

Important

Create an Assembly Definition for DOTween.

arrow pointing to Create Assembly Definition for DOTween in the set up window.

2. Installing Tweening Components

In the Package Manager, Click the Plus Button > Install the package from a git URL... and paste the following in:

https://github.com/Tirtstan/Tweening-Components.git

dropdown in the Unity packages manager for adding a package by git URL.

Usage

1. Add a TweenOnEvent component to you desired object:

Adding a TweenOnEvent component to a desired game object.

2. Create a TweenProfile:

In your Project tab, Right Click > Create > Tweening.

Creating a scriptable object tween profile through the project create context menu.

3. Edit the TweenProfile to your desired liking:

inspector view of the created tween profile.

4. Edit the TweenOnEvent component with all references and desired configurations:

inspector view of the previously added TweenOnEvent with its necessary references.

Done!

Samples

Tweening Components provides an Example scene in the Samples tab (or Samples)!

About

Tweening Components is a package that provides a set of preset scriptable objects to animate UGUI in Unity.

Topics

Resources

License

Stars

Watchers

Forks

Languages