Lachee / discord-rpc-csharp

C# custom implementation for Discord Rich Presence. Not deprecated and still available!
MIT License
560 stars 93 forks source link

Update DiscordUser.cs #166

Closed Hatrickek closed 1 year ago

Hatrickek commented 2 years ago

Code had deprecated stuff. Fixed it with new supported ones.

Lachee commented 2 years ago

This brings up a question about Unity 5 support and if it should be continued. Original goal of this project was to support Unity 5 upwards, but I think this is point in time to deprecated that use case.

If unity 5 was deprecated, this solution will still need to work for Unity 2017, 2018, 2019, and 2020 releases.

Lachee commented 1 year ago

This requires the pre-processor directives for Unity 2020 so this will still work with up to Unity 2018

Lachee commented 1 year ago

Implemented https://github.com/Lachee/discord-rpc-unity/blob/master/Runtime/Presence/User.cs