- Home /
Destroy vs Disable GameObject for Clothes Change game.
As title, I have a character with 100 clothes. which approach is the best choice in term of performance:
1) Destroy all outfits that isn't wear by character. When he change clothes, delete current clothes and add new clothes.
2) Keep all clothes in character. Just hide/unhide clothes he wears.
Thanks in advanced.
Answer by m0guz · Jun 09, 2018 at 07:47 AM
Is your game 3D or 2D? Either way, I would start with solution 1. If you encounter some lags/FPS drops, implement some basic pooling system and store clothes in that pool and use clothes from there.
Your answer
Follow this Question
Related Questions
Just One of my scene is so laggy 0 Answers
[Performance] RenderForwardAlpha performance issue on Android with Unity 5.3.0f4 0 Answers
Modifying an existing Unity file ore Import everything from scratch for a optimized VR immersion? 0 Answers
Skybox uses 1.7k Tris and 5.0k Verts even if occluded? 1 Answer
Help performance issues 0 Answers