$begingroup$

If I create a prefab out of an object on scene will my sport take extra reminiscence in Unity?

I’ve 30 enemies on my scene. I created a prefab for each one among them. I’m going to make use of every of the created prefabs to respawn enemies in the identical locations the place I put every one among them, with the identical configurations.

Now, my query is whether it is okay to create a variety of prefabs? Will Unity know how one can forestall them taking a variety of house? Or will I’ve troubles with reminiscence when I’ll create extra ranges (learn right here scenes) with even higher quantity of enemies, given that every enemy could have its personal prefab?

$endgroup$

1