Exemplo n.º 1
0
    public void stopCurrentCard()
    {
        if (nowShooting != null)
        {
            StopCoroutine(nowShooting);
        }

        if (nowPlayingCard != null)
        {
            StopCoroutine(nowPlayingCard);
        }

        nowPlayingCard = null;
        nowShooting    = null;
        pool.destroyAllBullets();
    }