Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update SDK_Starter_Guide.md
  • Loading branch information
night authored Apr 13, 2020
commit 7b1839d3d958cd9b45bc92932f3e86c6ff3dc1c9
4 changes: 2 additions & 2 deletions docs/game_sdk/SDK_Starter_Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ You're ready to go! Check out the rest of the documentation for more info on how

- Open up that SDK zip that you downloaded.
- Create a folder in your project directory called `DiscordGameSDK` and copy the contents of the `csharp/` folder to it
- Build your solution then place the `.dll` in the directory of the `.exe` (either x86 or x86_64 version depending on your Soultion Platform)
- Build your solution then place the `.dll` in the directory of the `.exe` (either x86 or x86_64 version depending on your compile platform). If you compile for Any CPU you may need to perform additional wrapping around DLL importing (like setting the DLL directory dynamically) to make sure you load the correct DLL.

From there, you'll be able to reference functions in the DLL within your scripts. We then instantiate the SDK with:

Expand All @@ -87,7 +87,7 @@ From there, you'll be able to reference functions in the DLL within your scripts
1. Close your game
2. Open Discord
3. Attempt to re-open your game
Step 3 will fail when running directly from the Unity editor
Step 3 may fail when running directly from your editor
Therefore, always keep Discord running during tests, or use Discord.CreateFlags.NoRequireDiscord
*/
var discord = new Discord.Discord(CLIENT_ID, (UInt64)Discord.CreateFlags.Default);
Expand Down