mac moment
This commit is contained in:
parent
37c07e171a
commit
954bb4f589
|
@ -510,19 +510,15 @@ namespace HeavenStudio
|
|||
};
|
||||
|
||||
#if HEAVENSTUDIO_PROD && !UNITY_EDITOR
|
||||
string lvpath = Application.dataPath;
|
||||
if (Application.platform == RuntimePlatform.OSXPlayer)
|
||||
string lvpath = "";
|
||||
if (Application.platform != RuntimePlatform.OSXPlayer)
|
||||
{
|
||||
lvpath += "/../../Levels/";
|
||||
}
|
||||
else
|
||||
{
|
||||
lvpath += "/../Levels/";
|
||||
}
|
||||
lvpath = Application.dataPath + "/../Levels/";
|
||||
if (!Directory.Exists(lvpath))
|
||||
{
|
||||
Directory.CreateDirectory(lvpath);
|
||||
}
|
||||
}
|
||||
StandaloneFileBrowser.OpenFilePanelAsync("Open Remix", lvpath, extensions, false, (string[] paths) =>
|
||||
#else
|
||||
StandaloneFileBrowser.OpenFilePanelAsync("Open Remix", "", extensions, false, (string[] paths) =>
|
||||
|
|
Loading…
Reference in a new issue