From 89a2e255da0d89d6f1b24f0e2e8b43797c6d77c0 Mon Sep 17 00:00:00 2001 From: Koji Hasegawa Date: Sat, 21 Sep 2024 20:12:36 +0900 Subject: [PATCH] Fix expression to work with Unity 2020 or lower --- Runtime/Utilities/LogMessageHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Utilities/LogMessageHandler.cs b/Runtime/Utilities/LogMessageHandler.cs index 06f7a68..72ff8b6 100644 --- a/Runtime/Utilities/LogMessageHandler.cs +++ b/Runtime/Utilities/LogMessageHandler.cs @@ -116,7 +116,7 @@ private bool IsIgnoreMessage(string logString, string stackTrace, LogType type, private static List CreateIgnoreMessageRegexes(AutopilotSettings settings) { - List regexs = new(); + var regexs = new List(); foreach (var message in settings.ignoreMessages) { Regex pattern;