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... Continue Reading →
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... Continue Reading →
Unity Editor Scripting- Custom Transfom Editor
Let's continue from editor scripting. I'm going to show how to implement your own transform editor for Unity3d. By default Unity has it's own editor for Transform component, which shows you your rotation as EulerAngles not as Quaternion. So when you create a custom editor for Transform and call DrawDefaultInspector(); from OnInspectorGUI() method you will see something... Continue Reading →
Unity Editor Scripting – It is fun!
That's right, editor scripting is really fun! Besides having fun you can do lots of useful things with custom editor tools with Unity3D. After some boring Android plugin tutorials I would like to show some editor scripting tips and tools. I will again use github for this tutorial , you can clone it from here for... Continue Reading →