LeanTween new UI SupportJan 15
Support for Unity’s new UI continues to improve in the latest LeanTween (more features, and more testing for stability). The latest LeanTween Editor features a new space themed ui skin that demos a lot of the LeanTween UI animation features.
The whole scene was done using only code generated from the editor (not having to write code can feel pretty liberating, great for prototypes or simple scenes). View the space ui scene running in WebGL (running with Unity5’s WebGL). A neat random fact, this runs on an iPad browser! (but only in Chrome, Safari runs for about 3 seconds before crashing)
Some exciting new additions to the LeanTween API are:
LeanTween.play (canvas sprite animations)
Animate the image ui item (UnityEngine.UI.Image) directly with LeanTween.
example: LeanTween.play(RectTransform rectTransform, Sprite sprites).setFrameRate(6f);
Because sometimes you want to rotate the RectTransform in local space
The other ones that have been around for awhile: move, scale, rotateAround, alpha, color (all specifically targeting the new RectTransform object).