mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 20:08:53 -05:00
GltfViewer
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user