Пример #1
0
 private void OnAnimationCompleted(ITweener tweener)
 {
     if (tweener.IsCompleted)
     {
         CAAnimation am = (CAAnimation)tweener;
         AnimationDidStop?.Invoke(am, true);
         OnCompleted(am, true);
         Animations.Remove(am.ForKey);
     }
 }
Пример #2
0
        public void UnLoaded()
        {
            foreach (var child in Childs)
            {
                child.UnLoaded();
            }

            foreach (var an in Animations)
            {
                AnimationDidStop?.Invoke(an.Value, false);
            }
        }