From 7e3f17fe1d282866632dfff3d1710a704e0fe933 Mon Sep 17 00:00:00 2001 From: Isamu Mogi Date: Tue, 15 Nov 2022 17:32:32 +0900 Subject: [PATCH] Fix the compilation error on a non-windows environment Fixed the following compilation error: ``` Assets/UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs(10,13): error CS0103: The name 'Debug' does not exist in the current context ``` --- .../UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs b/Assets/UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs index b8cabcaad..2da319a5b 100644 --- a/Assets/UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs +++ b/Assets/UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs @@ -7,7 +7,7 @@ namespace UniGLTF.GltfViewer #if UNITY_STANDALONE_WIN return VRMShaders.PathObject.FromFullPath(FileDialogForWindows.FileDialog(title, extensions)); #else - Debug.LogWarning("Non-Windows runtime file dialogs are not yet implemented."); + UnityEngine.Debug.LogWarning("Non-Windows runtime file dialogs are not yet implemented."); return default; #endif }