Tag Info

New answers tagged

1

It takes memory to keep it alive and update its position and other properties. But it doesn't consume computer/mobile graphic resources since it is not visible. So yes, it does consume memory resources but not graphics resources like a visible Game Object does.


1

A lot of answers are mainly considering the graphics aspect of your question. The fact is they will take up various resources, and how expensive they are compared to drawing the object isn't fixed. It's not as uncommon as some answers implied for your components to be making more expensive operations than drawing does, but you can minimize how many ...


5

I think you should also know about Frustrum Culling, or hiden surface removal: http://en.wikipedia.org/wiki/Hidden_surface_determination This is an important bit of optimising a game, because even if your objects are not inside the frustrum at a given frame (i.e. visible), some draw calls (shaders) are still launched for them, therefore decreasing ...


3

The short answer is "yes"; anything that is ready to be used in your game is taking up memory. The other thing to consider is the cost to your frame-rate: 5 objects, with 5 separate textures, drawn separately require state-changes in-between. You may be able to save some memory by unloading textures that aren't used. By loading all of the separate ...


13

What you want is a memory profiler, Which Unity does have. Here: http://docs.unity3d.com/Manual/ProfilerMemory.html But your assumption is mostly right, if a gameObject is not visible to the camera it is not drawn, and it uses less resources, but it still must consume some. The gameObject still exists in memory, including all the textures, models scripts ...


0

Anything that is in a program consumes resources; You don't think programs run on simply hopes and dreams, do you? The question should be how much resources does a game object consume, and to that end I think this is a pretty solid answer: http://answers.unity3d.com/questions/280455/how-much-memory-a-gameobject-consume.html In short, they consume ...



Top 50 recent answers are included