You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a C# _implementation_ of the [Discord RPC](https://github.com/discordapp/discord-rpc) library which was originally written in C++. This avoids having to use the official C++ and instead provides a managed way of using the Rich Presence within the .NET environment*.
7
7
@@ -20,7 +20,7 @@ Here are some key features of this library:
20
20
-**Full Unity3D Editor** (Contains all the tools, inspectors and helpers for a Unity3D game all in one package).
21
21
22
22
# Documentation
23
-
All the documentation can be found [lachee.github.io/discord-rpc-csharp/docs/](https://lachee.github.io/discord-rpc-csharp/docs/)
23
+
All the documentation can be found [lachee.github.io/discord-rpc-csharp/docs/](https://lachee.github.io/discord-rpc-csharp/)
24
24
25
25
# Installation
26
26
@@ -43,7 +43,7 @@ You can also [Download or Build](#building) your own version of the library if y
43
43
44
44
**Source: Unity3D Game Engine**
45
45
46
-
There is a Unity Package available for quick setup, which includes the editor scripts, managers and tools to make your life 100x easier. Simply download the package from the [Artifacts](https://ci.appveyor.com/project/Lachee/discord-rpc-csharp/build/artifacts) AppVoyer generates. This includes prebuilt native library and the managed library, so you don't need to worry about a thing.
46
+
Unity Package is being moved to [Lachee/Discord-RPC-Unity](https://github.com/Lachee/discord-rpc-unity). Please check the releases / documentation there.
47
47
48
48
For building your own package, read the [building](#building) guide.
You can build the solution easily in Visual Studio, it's a simple matter of right clicking the project and hitting build. However, if you wish to build via command line, you can do so with the PowerShell build script:
159
147
```
160
-
.\build.ps1 -target Default
148
+
dotnet build -c Release
161
149
```
162
150
163
151
**Unity3D**
164
152
165
-
The project does have a `Unity Package` available on the [Artifacts](https://ci.appveyor.com/project/Lachee/discord-rpc-csharp/build/artifacts) and it is always recommended to use that. Its automatically built and guaranteed to be the latest.
166
-
167
-
You can build the Unity3D package using the command below. Make sure you update the `DiscordRPC.dll` within the Unity Project first as it is not automatically updated:
168
-
```
169
-
.\build.ps1 -target Default -MakeUnityPackage
170
-
```
171
-
172
153
If you wish to have barebones Unity3D implementation, you need to build the `DiscordRPC.dll`, the [Unity Named Pipes](https://github.com/Lachee/unity-named-pipes) Library and the [UnityNamedPipe.cs](https://github.com/Lachee/discord-rpc-csharp/blob/master/Unity%20Example/Assets/Discord%20RPC/Scripts/Control/UnityNamedPipe.cs). Put these in your own Unity Project and the `.dll`s in a folder called `Plugins`.
0 commit comments