Quantcast
Channel: Questions in topic: "item"
Viewing all articles
Browse latest Browse all 274

Why can't i collect item in unity 2d?

$
0
0
I've in my game project items which i can collect: apples, hearts and keys( by them i have possibility to open exit). I only have problem with these keys. In the beginning everything was working, but when i turn off computer (i've saved script and whole project) and open unity again i could notice that i can't collect keys (apples and hearts still were working). I tried to repair - i've checked whole script, tags, colliders, but everything was alright... 1 hour ago i deleted everything in script what was linked with keys, and rewrite once again, i was pretty sure that would help but unfortunetly nothing happend. Here is the part of my script:![alt text][1] [1]: /storage/temp/91934-beztytułu.png

Viewing all articles
Browse latest Browse all 274

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>