private void LandShape() { foreach (Transform child in activeShape.transform) { Vector3Int position = Vector3Int.RoundToInt(child.position); fxManager.PlayGlowFx(position.x, position.y); } gameBoard.StoreShapeInGrid(activeShape); if (ghost) { ghost.Reset(); } activeShape = spawner.SpawnShape(); fxManager.PlaySpawnFx(); timeToNextDownKey = Time.time; timeToNextLeftRightKey = Time.time; timeToNextRotateKey = Time.time; gameBoard.ClearAllRows(); soundManager.PlaySound("Drop"); }