fix mac build

This commit is contained in:
ousttrue
2018-04-03 15:37:22 +09:00
parent 105842b20a
commit c24eb4b099
2 changed files with 4 additions and 9 deletions

View File

@@ -234,11 +234,15 @@ namespace VRM
void LoadBVHClicked()
{
#if UNITY_STANDALONE_WIN
var path = FileDialog("open BVH", ".bvh");
if (!string.IsNullOrEmpty(path))
{
LoadBvh(path);
}
#else
LoadBvh(Application.dataPath + "/default.bvh");
#endif
}
void OnLoaded(GameObject root)