Closed Issvn closed 6 years ago
Hi Issvn,
To integrate Rich Presence into a Unity game, you'll need to first:
Once you're familiar with the SDK and what's in it, for Unity specifically:
Copy the DLLs to Assets/Plugins/
folder in your project. On windows, you'll wanna add the 32bit dll to /x86_64
and the 64bit to /x86_64/
. On other operating systems, I believe you just stick it in Assets/Plugins/
Take a look at the Unity example (examples/button-clicker
) in this repo. There, you'll find DiscordRpc.cs
which you can use as a header file to talk to the SDK.
Work from that example. You can reference DiscordController.cs
for a basic example that includes presence updates, joining, and ask to join.
Hi ! I wanna know how to include Rich Presence inside a Unity3D game. Thanks for your answers.