From 3802735073225e8bc7d691ab713f639b193731f4 Mon Sep 17 00:00:00 2001 From: Koji Hasegawa Date: Fri, 23 Aug 2024 16:45:27 +0900 Subject: [PATCH] Fix for Unity 2019 Remove `static` from local function (required C#8.0) refs #91 --- RuntimeInternals/SceneManagerHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RuntimeInternals/SceneManagerHelper.cs b/RuntimeInternals/SceneManagerHelper.cs index d4c2118..3f7a3d2 100644 --- a/RuntimeInternals/SceneManagerHelper.cs +++ b/RuntimeInternals/SceneManagerHelper.cs @@ -124,8 +124,8 @@ internal static string GetAbsolutePath(string relativePath, string callerFilePat Debug.LogError($"Can not resolve absolute path. relative: {relativePath}, caller: {callerFilePath}"); return null; // Note: Do not use Exception (and Assert). Because freezes async tests on UTF v1.3.4, See UUM-25085. - - static string ConvertToUnixPathSeparator(string path) + + string ConvertToUnixPathSeparator(string path) { return path.Replace('\\', '/'); // Normalize path separator }