unity c# path desktop folder code example
Example: unity desktop path
string startingPath = default;
#if UNITY_EDITOR
startingPath = Application.dataPath + "/Resources/";
#else
startingPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop);
#endif