|
I'd like to search for all gameobjects in the scene Hierarchy that do not contain a specific string. Is this possible? For example something like "NOT door" would filter the Hierarchy to display every item that does not have "door" in their names. AFAIK "NOT" doesn't work as an argument, neither does "-" (the dash character). Thanks!!
(comments are locked)
|

One word- why? There has to be a better way.
I have meshes for lightmapping only, not in-game rendering, which are named with the same prefix as their renderable counterparts (walls, floors, etc.) plus the postfix "_SelfIllum". For example: mesh "Wall01A_SelfIllum" casts light onto mesh "Wall01A".
I would like to exclude all these "_SelfIllum" meshes from the list, so I could easily select all the renderable meshes.
Take a list consisting of: Wall01A, Wall01A, Wall01A, Wall01A_SelfIllum, Wall01A_SelfIllum, Wall01A_SelfIllum, Wall01B, Wall01B. How do I quickly select the three Wall01A meshes and the two Wall01B meshes, without selecting the three _SelfIllum meshes?
If I have a giant list with hundreds of each of these names, then manually selecting the desired ranges becomes a labor-intensive task. Limiting the display with booleans (or better yet, regular expressions!) would make this a simple task.
Is there a better way?
If you mean you want to do this at design-time, using the search field at tjhe top of the hierarchy tab, then this seems like a good idea for a feature, but it's not one that currently exists.
If you mean at run-time, then I implore you not to do this, but to find a better way.
OK, thanks for the reply. It's needed at design-time only. Hopefully a feature for the future. Will see if I can script something short-term.