Skip to content

Some of usefull scripts to add in your UI's for nice animations!

Notifications You must be signed in to change notification settings

playjoa/Unity_LeanTween_Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unity_LeanTween_Tools

Make your UI pop with easy to implement animations!

LeanTween was developed by Dented Pixel, show hiw some love on the Asset Store :D

/LeanTween (Folder): Contains the base framework for lean tween! You can also get it for free from the Unity Asset Store HERE!
/Leantween Scripts (Folder): Contains scripts to use in your UI, or other areas that you may find it useful in your project :D

Make your UI Pop!

LeanTweanerListAnimator.cs

  • Attach to a parent of a list, it will animate each one of the childs in order (from top to bottom)!

Example:

  • Attaching the ListAnimator on "LevelOptions" will animate them in order!
  • You can set how long the delay to start animating the childs, delay between childs animation and the duration of the animation!

TweenerAnimation.cs

  • Attach to an object such as a card that holds some info (MeesageBoxes or entire screens), you can also set UnityEvents to happen after close animation!

Example:

  • Set type of open and close animation!
  • Set values to your liking!
  • To activate close animation reference the TweenerAnimation in your card in a button or script.
  • Set to deactivate whatever you want on the close event

LeanTweanerPopUp.cs

  • Similar to TweenerAnimation, will Open the desired card (Good for notification Pop Ups or DamageTexts) and close after a desired time!

Example:

  • Set values to your liking and done, the pop up will autodeactivate after close animation!
  • OnOpenedPopUp and OnClosedPopUp events.

About

Some of usefull scripts to add in your UI's for nice animations!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages