Monday, 26 August 2019

Unity - Using editor tool to find all elements with selected tag

So you have 500 objects in your project and some of them have specific tag assigned to them. You want to select them all and perform some modification. There is painful way - go through all objects in hierarchy one by one and check what tag the object have or the second way use unity editor ScriptableWizzard.

https://docs.unity3d.com/ScriptReference/ScriptableWizard.html

I wrote simple class that will enable to you to easily find all elements by the tag name in the editor.



In order for the script to work you need to place in inside Editor folder.


No comments:

Post a Comment