- Home /
inactive objects impact on memory
Hey guys, I am working on my game, and I had an idea. Right now the game has 6 puzzle object types. Depending on what type of puzzle piece it is, I instantiate it and parent it to the main puzzle piece (they all have the same main puzzle piece type). If there are no more of those puzzle pieces on the board and there are some in the que, I destroy the child piece and instantiate a new piece that does exist on the board.
Would it be better to have all 6 pieces as a child of the main puzzle piece all the time, and just activate the one piece that is available? If the other 5 pieces are set to inactive, how much does that affect memory on a mobile platform?
I guess simply, do inactive gameobjects take up as much memory as when they are active?
Answer by Eric5h5 · Dec 01, 2011 at 09:39 PM
Active or inactive has no effect on memory.
Your answer

Follow this Question
Related Questions
Why is Unity loading disabled GameObjects at scene start? 1 Answer
How much memory does a GameObject consume? (iOS) 0 Answers
Button press does not work in some of the scenes as intended. 0 Answers
Call Methods from inactive GameObjects 1 Answer
Finding all GameObjects with the same tag when some of them are inactive? 4 Answers