public static void DeleteLine(int r) { for (int l = 0; l < width; l++) { if (grid[l, r] != null) { Destroy(grid[l, r].gameObject); grid[l, r] = null; scoreBase.AddScore(10 * scoreMultiplier); } } soundBase.Play(); }