- Home /
Instantiated object has the scale of the old object that was distroied
OK i am making a pulse that emanates every so often, enlarges and fades away. but every new pulse that gets instantiated is just as large as the original that faded away already... so do you unlink and item from its prefab so that the scale changes don't effect later instantiations?
Comment
Are you doing something like this ?
public GameObject Prefab;
...
Instantiate(Prefab);
Prefab.localScale = someScale;
If that happens to be the case you should try it like this :
GameObject instanciatedObject = Instantiate(Prefab);
instanciatedObject.localScale = someScale;
Your answer
![](https://koobas.hobune.stream/wayback/20220613150231im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How to rotate/scale a prefab instance from the GUI? 2 Answers
Prefab doesn't work when placed in another scene. 0 Answers
my prefab images dont appear in my scene view but are in my camera view 2 Answers
Muzzleflash help 0 Answers