unity get path to desktop 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