Open GoldenPalazzo opened 4 years ago
If you are using Mono, you will need to use the native pipe wrapper that is used in the Unity version.
How? I checked your other repo, built it with Visual Studio code and tried to import in my project's .csproj like this
<Project Sdk="Godot.NET.Sdk/3.2.3">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<RootNamespace>IndustrialRun</RootNamespace>
</PropertyGroup>
<ItemGroup>
<!-- My Libraries -->
<PackageReference Include="Newtonsoft.Json">
<Version>12.0.3</Version>
</PackageReference>
<Reference Include="UnityNamedPipe">
<Private>False</Private>
<HintPath>$(ProjectDir)/lib/UnityNamedPipe.dll</HintPath>
</Reference>
<PackageReference Include="DiscordRichPresence">
<Version>1.0.147</Version>
</PackageReference>
</ItemGroup>
</Project>
But then when I write
using UnityNamedPipe;
VS Code tells me that the namespace hasn't been found.
I'm not very familiar with C#, I'm using it just because this is the only way to use Rich Presence in Godot.
Duplicate of #94
Describe the bug Whenever I start my game with this simple script attached to a Node (I'm using Godot Mono), Rich Presence doesn't show up
To Reproduce Steps to reproduce the behavior:
Expected behavior My discord status should show up.
Desktop (please complete the following information):