충돌 영역에 부딪혔을 때 코드가 작동하도록 만들기
<aside> <img src="/icons/apple_red.svg" alt="/icons/apple_red.svg" width="40px" />
콜라이더(Collider) : 충돌 영역
<aside> <img src="/icons/apple_red.svg" alt="/icons/apple_red.svg" width="40px" />
콜리전(Collision) : 충돌
Assets/2_Scripts/Collision.cs 생성
Start/ Update삭제
OnCollisionEnter2D() 추가

Collision2D collision : 부딪힌 오브젝트에 대한 정보
Play >>
Console > Collapse를 했을 때 나오는 카운트로 몇 번 부딪혔는지 알 수 있음.
