Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.76 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.76 KB

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.