fix EditorUtility.OpenFilePanel

This commit is contained in:
ousttrue
2022-10-24 14:57:55 +09:00
parent 66e993fa5f
commit bf5eee2fba
3 changed files with 13 additions and 3 deletions

View File

@@ -7,6 +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.");
return default;
#endif
}