コード例 #1
0
ファイル: Bloque.cs プロジェクト: JerezM/TdP-Arkanoid
 //Destroy the game object, and add the points to the game score
 private void DestroyBlock()
 {
     Destroy(gameObject);
     nivel.DestroyBlockFromLevel();
     FindObjectOfType <GameStatus>().AddToScore(points);
 }