'AppData locations in Unity
How do I get locations for "Local" and "Roaming" inside "AppData" folder through Unity? I am able to get "LocalLow" directory using the code below, how do I get the rest two of them?
string m_Path = Path.Combine(Application.persistentDataPath);
Solution 1:[1]
Keep in mind that these special folders are a Windows concept. If your application is supposed to be run on a non-Windows platform, you should verify which directories these special folders are mapped to on the platform(s) of interest.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | DannyBoy |