mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-15 06:05:10 +00:00
mac moment
This commit is contained in:
parent
37c07e171a
commit
954bb4f589
1 changed files with 7 additions and 11 deletions
|
@ -510,18 +510,14 @@ namespace HeavenStudio
|
||||||
};
|
};
|
||||||
|
|
||||||
#if HEAVENSTUDIO_PROD && !UNITY_EDITOR
|
#if HEAVENSTUDIO_PROD && !UNITY_EDITOR
|
||||||
string lvpath = Application.dataPath;
|
string lvpath = "";
|
||||||
if (Application.platform == RuntimePlatform.OSXPlayer)
|
if (Application.platform != RuntimePlatform.OSXPlayer)
|
||||||
{
|
{
|
||||||
lvpath += "/../../Levels/";
|
lvpath = Application.dataPath + "/../Levels/";
|
||||||
}
|
if (!Directory.Exists(lvpath))
|
||||||
else
|
{
|
||||||
{
|
Directory.CreateDirectory(lvpath);
|
||||||
lvpath += "/../Levels/";
|
}
|
||||||
}
|
|
||||||
if (!Directory.Exists(lvpath))
|
|
||||||
{
|
|
||||||
Directory.CreateDirectory(lvpath);
|
|
||||||
}
|
}
|
||||||
StandaloneFileBrowser.OpenFilePanelAsync("Open Remix", lvpath, extensions, false, (string[] paths) =>
|
StandaloneFileBrowser.OpenFilePanelAsync("Open Remix", lvpath, extensions, false, (string[] paths) =>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue