Unity Editor Scripting – Filtering Hierarchy by Tag or Layer

Today I’m going to show and share an editor code I wrote about how to filter your hierarchy by tag or layer. I uploaded my editor scripts to this repository on Github, if you read my previous editor tutorials you should have seen this script inside /Tut-2-FilterHierarchy folder. The default filtering option for Unity’s hierarchy window is by name and…

Unity Editor Scripting-Quick SetActive

In this tutorial we are going to play with our hierarchy window, and add a toggle button into the hierarchywindow to quickly activate and deavtivate our gameobjects.Before we begin, you can download the source code from github. And here how our hierarchy window will look like.(Light bulb icon next to toggle button is subject for…