mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-20 01:25:45 -05:00
fix EditorUtility.OpenFilePanel
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user