- Home /
Temporarily Hiding Objects in Scene View?
I'm used to working in another editor where it's very easy to select objects and temporarily hide them.
Is there an easy way to do this in Unity? So far I haven't found one.
Answer by DaveA · Mar 20, 2012 at 02:13 AM
You can click the checkbox next the the name in the Inspector, that will activate/deactivate the whole object. If you just want it to not render, you can drill down to its Renderer and turn that off.
You can also put things in different Layers then hide/show layers.
For those wondering how to create layers and then show/hide the layers: Create a new empty game object by going to GameObject - Create Empty
Name this object something like "Rocks Group" if you were wanting to hide all of your rock models in a terrain for example.
In the Hierarchy panel, select all of the rock models in your scene and then drag them into the "Rocks Group" empty object. Now they are all in their own "Layer"
To hide the Rocks Group layer, left click on it and in the Inspector panel you'll see a check box beside the group name (top right of inspector window) uncheck this to hide the group and check it to show the group.
Using such solution is good for cases when hided objects should not be updated. But it's not fits to cases when them should be disabled just for render. For example, there is Game Scene and Inventory Scene and we want to switch to Inventory without pausing.
From another hand, both Scenes may be places in game far away from each other (for example, Inventory scene under ground) and, is a understand, Unity will optimize render ignoring far Scene meshes?
Answer by nights007 · Nov 07, 2017 at 10:11 AM
Basically there's no good way of doing this. You have to turn of renderer for EACH object. Or use culling masks on the camera, but then all your objects you want to turn off have to use a specific layer. Incredibly dumb that theres no better way.
Uhm are you sure you actually address the question on top? You can't use "culling masks" as we talk about the "Scene View" of the Unity editor, not about the "Game View" or a build game.
What's exactly your problem of grouping several objects into one empty gameobject and deactivating this gameobject?
Your "answer" doesn't really reads like an answer but more like a desperate rant.
ps: There are some custom solutions like this one which seems to allow you to group objects and enable / disable the group. It doesn't have any reviews yet, so we can't be sure if it does what was asked in the question.
It's not like adding objects to a layer and then turning that layer off is inherently difficult. What better way are you hoping for?
Your answer
![](https://koobas.hobune.stream/wayback/20220613065325im_/https://answers.unity.com/themes/thub/images/avi.jpg)