- Home /
Filtering project window to ONLY selected objects
I am using the Selection class's API to select objects, e.g:
Selection.objects = myObjectArray;
I'd like the project view to filter its display to ONLY the objects that i have selected (similar to what happens if you right-click on some object and pick "Select Dependencies").
I could not find any API to do this sort of operation.
So you want the project window to filter just like it would when you search for something?
Yes. But the "Select dependencies" option does not exactly work like that. It filters the project window to just the dependencies, but does not seem to use the filter text field.
"Select Dependencies" for me, shows the deps in the inspector window, it doesn't narrow the results in the project window...
I just double checked - it appears in the project window. I am using version 4.5.2 on OSX.
Your answer
Follow this Question
Related Questions
Updating object on inspector value changes in editor 1 Answer
Distribute terrain in zones 3 Answers
Reordable List in a window 1 Answer
How can I remove constant errors from the EditorWindow 1 Answer
Multiple Cars not working 1 Answer