Local Directories: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

9 June 2024

  • curprev 21:2321:23, 9 June 2024Winkio talk contribs 943 bytes +943 Created page with "To get to specific local directories on the system where a game is running <syntaxhighlight lang="cs"> Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) </syntaxhighlight> This works on multiple platforms, including windows, linux, mac, and android. For example, if you wanted to create a folder under ‘My Games’ for a single game's save data, consider the following code: <syntaxhighlight lang="cs"> string gameName = "Tetris"; string userDirectory =..."