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

@ -1,9 +0,0 @@
fileFormatVersion: 2
guid: a0029457c7d957543a48dc39a63380a4
folderAsset: yes
timeCreated: 1522734361
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

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)