Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/minapecheux/unitytutorials-gizmosdebugging

The code for a short tutorial on debugging and editing game data visually in Unity/C# thanks to custom gizmos tools! (in text or video format).
https://github.com/minapecheux/unitytutorials-gizmosdebugging

debug debugging gizmos tool tooling tools unity unity3d

Last synced: 3 months ago
JSON representation

The code for a short tutorial on debugging and editing game data visually in Unity/C# thanks to custom gizmos tools! (in text or video format).

Awesome Lists containing this project

README

        

# [Unity/C#] Visual debugging and editing using gizmos

**Mina Pêcheux - September 2021**

How can we use Unity built-in editor features to create our own tools and improve the debugging or editing of our game data? Let's discover more in this video/text tutorial: "How to do visual debugging and editing using gizmos in less than 30 minutes" :)

You can read it in text format [on Medium](https://mina-pecheux.medium.com/how-to-do-visual-debugging-editing-using-gizmos-in-unity-c-e3b8ea711b30), or watch it [on Youtube](https://www.youtube.com/watch?v=q3X98YKf0I8).

![thumbnail](imgs/thumbnail.png)

In this less than 30 minutes-tutorial, I'm discussing tooling in Unity, why it's important and how we can use scene gizmos or custom editors to better analyze and tweak our project data!

This Github repo contains the various examples presented in the tutorial, plus a more advanced `HeroDebugger` script to go further. This advanced version uses **C# reflection** to automatically list the float fields available in the `HeroManager` data class, show them as a popup and even match them to specific debug colors :)

![demo](imgs/demo.gif)