Pause() public method

Pauses the animation.
public Pause ( ) : void
return void
Esempio n. 1
0
    /// <summary>
    /// Pauses the currently playing animation.
    /// </summary>
    public void PauseAnim()
    {
        if (curAnim != null)
        {
            curAnim.Pause();
        }

        animating = false;
    }