public void Finish() { if (!end || !swipeController.AllCoins()) { perfect = false; } start = false; drawing = false; particles.SetActive(false); swipeController.Finish(perfect, failed); }