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