private void Animate(bool active)
 {
     tooltipContainer.DOPreferredHeight(active ? 60f : 0f, 0.15f)
     .Replace(ref heightTween);
 }
Example #2
0
 private void Animate(float target)
 {
     layoutElement.DOPreferredHeight(target, 0.2f)
     .Replace(ref sizeTween);
 }