Skip to content

Instantly share code, notes, and snippets.

@lovehou922
lovehou922 / DebugConsole.cs
Created April 11, 2023 04:19 — forked from darktable/DebugConsole.cs
Unity3D: Heavily modified version of Jeremy Hollingsworth's DebugConsole script.
#define DEBUG_CONSOLE
#define DEBUG_LEVEL_LOG
#define DEBUG_LEVEL_WARN
#define DEBUG_LEVEL_ERROR
#if (UNITY_EDITOR || DEVELOPMENT_BUILD)
#define DEBUG
#endif
#if (UNITY_IOS || UNITY_ANDROID)