private void GameOver() { Debug.LogWarning("GAME OVER"); TetrominoBehaviour.ClearOccupiedMatrix(); onGameOver?.Invoke(); TetrominoBehaviour.endedMovement -= UpdateGameState; }
private void OnDisable() { TetrominoBehaviour.endedMovement -= UpdateGameState; TetrominoBehaviour.ClearOccupiedMatrix(); }