- Home /
How to work with Steam API?
Steam is the biggest online distribution platform and community about games.
Unity is the most popular engine.
So why it seems like they are ignore each other? Native API of Steam looks terrible. The code is very confusing and bad documentation.
I managed to found only two tools in the Asset Store:
But both have very poor documentation and no support.
Seems like no one use Steam API. But it can't be possible. Many games have Steam integration.
So, how they are achieve that?
The S$$anonymous$$mworks API is in C++, so Unity developers use the S$$anonymous$$mworks.net package ins$$anonymous$$d.
Answer by mofirouz · Aug 04, 2017 at 12:52 PM
As Havax mentioned above, the Steamworks API is C++ and integrating it with the mono/C# toolchain is not pretty. Apart from using third-party packages to interact with Steamworks, you can move some/most of the logic to a server that can communicate easier with Steamworks.
You’ll need to have your Steam Publisher Key and Steam AppID available, and use that to make calls to their API to authenticate users in and fetch their friends. There are various projects out there that do this. For example code, have a look at this.
Hope this helps.
Your answer
Follow this Question
Related Questions
Can Unity API's be called from assemblies? 1 Answer
How to connect a large .Net C# CAD API to Unity? 0 Answers
Using the Kongregate API 1 Answer
External dll: namespace recognized by mono, not by UT 2 Answers
external lightmapping tool 0 Answers