mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-27 09:07:06 -05:00
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 ```
16 lines
471 B
C#
16 lines
471 B
C#
namespace UniGLTF.GltfViewer
|
|
{
|
|
public static class OpenFileDialog
|
|
{
|
|
public static VRMShaders.PathObject Show(string title, params string[] extensions)
|
|
{
|
|
#if UNITY_STANDALONE_WIN
|
|
return VRMShaders.PathObject.FromFullPath(FileDialogForWindows.FileDialog(title, extensions));
|
|
#else
|
|
UnityEngine.Debug.LogWarning("Non-Windows runtime file dialogs are not yet implemented.");
|
|
return default;
|
|
#endif
|
|
}
|
|
}
|
|
}
|