Question by
RetroboltGames · Jun 02, 2019 at 06:06 AM ·
script.prefabs
Gameobject stops working when it becomes a prefab
I have a gameobject that disappears after contact, it uses a script and the event system in the animation editor and it works fine. When added as a prefab it stops working.
It only works again if I put one of the prefab clones in the script slots and only then it will work for that one clone.
When I put the (Main/Root/Original) prefab in those slots, it won't work at all.
Is my code not generalized for prefabs? Did I do something wrong.
Should I take the lazy route and make like 10 slots each for individual gameobjects?
If there's any info you need, please let me know.
Anything that can help will be much appreciated. Thank you
Comment
Your answer