- Home /
Question by
aaronflippo · Jun 15, 2013 at 04:32 PM ·
c#editormac
"MyDocuments" varies for editor vs. standalone (Mac)
Hey all, this one really has me stumped.
When I call System.Environment.SpecialFolder.MyDocuments from the Unity editor on my Mac, it gives me:
/Users/username/
But in a standalone build, it returns: /Users/username/Documents/
Can anyone explain this discrepancy?
Comment
Best Answer
Answer by Graham-Dunnett · Jun 15, 2013 at 05:04 PM
The editor and the runtime use different mono versions.
Oh interesting - had no idea! So this was something that changed between versions?
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Initialising List array for use in a custom Editor 1 Answer