Exemplo n.º 1
0
        internal static AnimationController Create(IToggleAnimated target, int interval, int repetitions = int.MaxValue - 1)
        {
            if (Exists(target))
            {
                return(Item(target));
            }
            AnimationToggle toggle = new AnimationToggle(interval, repetitions);

            toggle.m_Target = target;
            Add(toggle);
            return(toggle);
        }