Why does my gameobject not spawn if I don’t grab it? The other gameobjects spawn just fine even after not grabbing it, but not this certain one. The gameobjects are all constantly spawning, except the one that doesn’t respawn after not grabbing it because it’s supposed to spawn only after I collect 10 of a different gameobject(I hope you understood that). So what could be the problem? Here’s my GameObject script(this script spawns both the gameobjects I need to collect and the one that doesn’t respawn): http://pastebin.com/RuU9UrDj
Now I have a pretty good feeling that it’s defiantly the script that I posted that’s the problem. I tested it with a different spawn script and the gameobject respawn/kept spawning even after not grabbing it. I know this is pretty a vague explanation and question, so I’m sorry. Anyways I hope someone can help me see what’s the problem here.