Question by
danmanthegreat · Jun 19, 2018 at 05:47 AM ·
c#unity 2dplatformercoincollectible
Why won't the coin disappear when the player collides with it?
I'm working on a small game for my homework, and I encountered a problem. When the player runs into the coin, the player just stops, I have attached a script to the coin that says it should be removed when the player touches it, but when I put the coin into the map, it doesn't work, anyone out there know what's wrong?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612165033im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Ground check BoxCast is detecting when player hits bottom of platform. UNITY 2D C# 0 Answers
RayCast 2d change start position ? 0 Answers
Calculate BoxCollider2D based on the actual player sprite 2 Answers
Unable to save the captured photo in hololens app. 0 Answers
Help me with joystick setting 1 Answer