using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class RemoveBlock : MonoBehaviour
{
public GameObject block;
private void OnTriggerEnter(Collider other)
{
if (other.CompareTag("Player"))
{
Destroy(block);
}
}
}