- Home /
Dynamic scaling when instantiated or different prefabs?
In my project, the player character model becomes bigger as it grows more powerful with specific 'size-related levels'. What I would like to know is if it is better to create 5 prefabs with the scaled sizes predefined and to instantiate the right model or to have one prefab and use Transform.localScale when the character spawns?
I cannot seem to find any conclusive info on which approach would be the better approach - or even if there are more options that I've not considered?
Answer by RobAnthem · Dec 31, 2016 at 07:06 AM
I would definitely alter the scale instead of spawning a prefab, so that you can utilize an over-time effect and make it look better. Unless he doesn't change during gameplay, but to make it easier on you, scaling during runtime would be more efficient overall.