Example #1
0
 //Destroy the game object, and add the points to the game score
 private void DestroyBlock()
 {
     Destroy(gameObject);
     nivel.DestroyBlockFromLevel();
     FindObjectOfType <GameStatus>().AddToScore(points);
 }