- Home /
Question by
clonetrooper2021 · Jun 07, 2021 at 04:52 PM ·
instantiateinstantiate prefab
Instantiated prefabs acting different than those dragged onto scene
I have some prefabs that, when instantiated, act differently than ones that I just place into the scene manually (which perform exactly as intended). Some people have said that it might have something to do with the code that instantiated the objects, so I've included some pictures of that. Just in case it helps, my game is in 2D.
Thanks in advance :)
First pic:
Second pic:
instantiate-code-pic-1.png
(56.3 kB)
instantiate-code-pic-2.png
(53.2 kB)
Comment