Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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).
- Host: GitHub
- URL: https://github.com/MinaPecheux/UnityTutorials-GizmosDebugging
- Owner: MinaPecheux
- License: mit
- Created: 2021-09-05T16:34:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-01T22:28:53.000Z (over 3 years ago)
- Last Synced: 2024-11-07T01:21:52.654Z (3 months ago)
- Topics: debug, debugging, gizmos, tool, tooling, tools, unity, unity3d
- Language: C#
- Homepage: https://minapecheux.com
- Size: 3.1 MB
- Stars: 11
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)