Skip to content

Commit

Permalink
#ifdef for Unity editor
Browse files Browse the repository at this point in the history
  • Loading branch information
plaidpants committed Nov 30, 2019
1 parent 1e3371e commit c77ef04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/System/sampleManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void loadSampleDictionary(string dir, string pathtype) {
for (int i = 0; i < subdirs.Length; i++) {
#if UNITY_ANDROID
string s = subdirs[i].Replace(dir + "/", "");
#elif UNITY_STANDALONE_WIN
#elif UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
string s = subdirs[i].Replace(dir + "\\", "");
#endif
sampleDictionary[s] = new Dictionary<string, string>();
Expand Down

0 comments on commit c77ef04

Please sign in to comment.