protected virtual void ApplyAdditionalSettings(LTDescr tween)
{
tween.setDelay(animationSettings.Delay)
.setIgnoreTimeScale(animationSettings.IgnoreTimeScale);
if (animationSettings.Easing == LeanTweenType.animationCurve)
{
tween.setEase(animationSettings.AnimationCurve);
}
else
{
tween.setEase(animationSettings.Easing);
}
if (animationSettings.Loop)
{
tween.setLoopCount(animationSettings.Loops);
tween.setLoopType(animationSettings.LoopType);
}
}