Пример #1
0
            public void Kill()
            {
                // Kills the Set and all of its tweens witout running any of the end actions.
                // It also does not attemtp to put all tweens to thier final targets.
                mEndActions.Clear();
                mActive = false;

                foreach (RedTween.Track track in mTracks.Values)
                {
                    track.Kill();
                }
                RedTween.EndSet(this);
                RedTweenVisualizer.RemoveVizualization(mVisualizer);
            }
Пример #2
0
            private void End()
            {
                mActive = false;
                RedTween.EndSet(this);

                for (int i = 0; i < mEndActions.Count; i++)
                {
                    if (mEndActions[i] != null)
                    {
                        mEndActions[i]();
                    }
                }
                mEndActions.Clear();
                RedTweenVisualizer.RemoveVizualization(mVisualizer);
            }
Пример #3
0
            public void ForceEnd()
            {
                mActive = false;

                foreach (RedTween.Track track in mTracks.Values)
                {
                    track.Kill();
                }

                RedTween.EndSet(this);
                for (int i = 0; i < mEndActions.Count; i++)
                {
                    if (mEndActions[i] != null)
                    {
                        mEndActions[i]();
                    }
                }
                mEndActions.Clear();
                RedTweenVisualizer.RemoveVizualization(mVisualizer);
            }