skip to Main Content

How to Fade a Canvas Group with Lean Tween

Dented Pixel's Lean Tween asset for the Unity Game engine is fantastic and has a number of functions to manipulate the alpha property of various components.  The Unity canvas components are supported to a large degree and today I wanted to draw attention to…

Keep Reading...

Lean Tween Fade Sprite C#

There are several ways to fade a SpriteRenderer sprite using the Lean Tween library. You can use LeanTween.alpha, which almost always works but sometimes sets the alpha of the shared material tint rather than then SpriteRenderer.color property. In those case, you can use LeanTween.value…

Keep Reading...