Exemplo n.º 1
0
 void OnCollisionEnter2D(Collision2D col)
 {
     if (col.gameObject.tag == "Ball")
     {
         mh.IncrementScore();
         Destroy(gameObject, 0.1f);
         lfs.Cur_Bricks--;
         lfs.UpdateGUI();
     }
 }