Reputation: 1963
Im using LeanTween to animate an UI, the show animations works perfectly, but the hide animation is 3 times slower... any idea on what can be causing this?
My animation time is 1.5F and menuStartBtn is a RectTransform
void ShowStartMenu()
{
LeanTween.moveY(menuStartBtn, 0.0F, animationTime).setEase(LeanTweenType.easeOutElastic);
}
void HideStartMenu()
{
LeanTween.moveY(menuStartBtn, -192.0F, animationTime).setEase(LeanTweenType.linear);
}
Upvotes: 0
Views: 575