From de88b0a8ddacf5c640d1e5bd64b68b67a9786af9 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Wed, 22 Nov 2023 11:38:28 +0800 Subject: [PATCH] fix console messages color --- src/Debug/EcsDebug.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Debug/EcsDebug.cs b/src/Debug/EcsDebug.cs index 8857d0f..9443fd9 100644 --- a/src/Debug/EcsDebug.cs +++ b/src/Debug/EcsDebug.cs @@ -131,11 +131,14 @@ namespace DCFApixels.DragonECS private string[] _stopwatchsNames; public DefaultDebugService() { + Console.ForegroundColor = ConsoleColor.White; + Console.BackgroundColor = ConsoleColor.Black; #if !DISABLE_DRAGONECS_DEBUGGER _stopwatchs = new Stopwatch[64]; _stopwatchsNames = new string[64]; #endif } + public override void Print(string tag, object v) { if (string.IsNullOrEmpty(tag))