
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
빗방울이 떨어지면 빗방울만 사라져야 하는데 땅까지 같이 사라져버리는데 무언가 잘못한걸까요,,??ㅠㅠ
MainScene 에 rain 스크립트도 추가하였고, groud tag도 추가하였습니다.
요상하네요

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class rain : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
void OnCollisionEnter2D(Collision2D coll)
{
if (coll.gameObject.tag == "ground")
{
Destroy(gameObject);
}
}
}
