using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class peng : MonoBehaviour
{
// Start is called before the first frame update
private void OnTriggerEnter(Collider other)
{
Debug.Log(other.gameObject.name);
if(other.tag == "des")
{
Destroy(other.gameObject);
}
}
}