Question by
unity_5wW3tqoUVTrtuQ · Dec 24, 2019 at 03:54 AM ·
bullet-prefab
How can I change the object attached to a prefab?
I clone a prefab of a bullet when I fire in-game, but I want the bullet to change when I pick up a power up, so I made another prefab for the other bullet, the thing is I don't know how to change the attached prefab of the bullet on script, it's easy to drag it but I need it to be in-game.
Comment