UniVRM/Assets/UniGLTF_Samples/GltfViewer/OpenFileDialog/OpenFileDialog.cs
2022-10-03 14:16:17 +09:00

15 lines
368 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
return default;
#endif
}
}
}