protected void OpenWindow() { WindowAnimation.Stop(); WindowAnimation .SetDuration(0.4f) .SetEaseType(Ease.Type.OutElastic); WindowAnimation.Play(CalculateDragLimit); }
public override void Close() { base.Close(); WindowAnimation.Stop(); WindowAnimation .SetDuration(0.2f) .SetEaseType(Ease.Type.InBack); WindowAnimation.Reverse(() => Closed()); }