private void OnMouseDown() { if (gamemanager.isGameActive) { Destroy(gameObject); Instantiate(explosionParticle, transform.position, explosionParticle.transform.rotation); gamemanager.Updatescore(pointValue); } }