SuperSpriteAnim.Pause C# (CSharp) Method

Pause() public method

Pauses the animation.
public Pause ( ) : void
return void
	public void Pause()
	{
		isRunning = false;
		spriteAnims[curAnim].sprite.PauseAnim();
	}

Usage Example

コード例 #1
0
ファイル: SuperSprite.cs プロジェクト: atom-chen/project_fox
    /// <summary>
    /// Pauses the currently playing animation.
    /// </summary>
    public void PauseAnim()
    {
        if (curAnim != null)
        {
            curAnim.Pause();
        }

        animating = false;
    }