In my last #unitytips I demonstrated how you could create a visual header to any group of components on your hierarchy window using EditorApplication.hierarchyWindowItemOnGUI. Now I’m improving it allowing you to customize its style. To change the style, you just need to edit the values of the HierarchyWindowGroupHeaderSettings in the...Read "unitytips: Changing the st..."
You can create a visual header to any group of components on your hierarchy window using EditorApplication.hierarchyWindowItemOnGUI: Code You can easily import this gist directly into your Unity 3D project using the Gist Importer Any GameObject with name that starts with “—” will be considered a group header You can...Read "unitytips: Hierarchy Windo..."
Recently I built a small tool to read the text of thousands of images. Introduction A common technique to extract text from images is know as OCR (Optical character recognition) and the best implementation, that I Know, is called Tesseract. When a I started to build the tool, I used...Read "Using Tesseract 4 with C#"
You can create a context menu for any component using the "CONTEXT/<component>/<menu name>" on a MenuItem attribute: Code You can easily import this gist directly into your Unity 3D project using the Gist ImporterRead "unitytips: MenuItem "CONTE..."
I’ve coded an EditorWindow to create an AnimationCurve using easing functions that define how much a value changes over time. $# Introduction There are many classic easing functions, such as: InQuad, OutElastic, InOutSin, and InOutBounce. All of these are functions that have a time input parameter and a return value...Read "Easing2Curve: An editor wi..."
I created an AssetPostProcessor and an EditorWindow to validate if assets are in the right folder and help the Unity projects to keep organized. Introduction There are many ways to structure folders in a Unity project, but most common ones are cited by the Unity Learn tutorial: Large Project Organisation:...Read "Using an AssetPostprocessor + Ed..."
While I was reading about 2D Sorting and Sorting Layers on Unity Manual I came up with the idea of creating a custom editor window to see which sorting layer the sprites on the scene are using. In the video above you can see the Sorting Layer Debugger been used...Read "A Sorting Layer Debugger for Unity"
I’m working in a new game prototype and in this process I was creating some experimental levels to test the mechanics, but by the name of scene I was having dificult to remember which mechanic the level was about and I had to open each level to discover that one...Read "Unity3D ScenePreview inspector"