public void stopCurrentCard() { if (nowShooting != null) { StopCoroutine(nowShooting); } if (nowPlayingCard != null) { StopCoroutine(nowPlayingCard); } nowPlayingCard = null; nowShooting = null; pool.destroyAllBullets(); }
public void stopCurrentCard() { if (nowShooting != null) { StopCoroutine(nowShooting); } if (nowPlayingCard != null) { StopCoroutine(nowPlayingCard); } nowPlayingCard = null; nowShooting = null; pool.destroyAllBullets(); }