6

I'm coding a game in C# in unity3d. I installed the Steamworks API, and now I see that a lot of things like getPersonaName() and avatar need SteamID to fetch them. I want to know how, even if it's the briefest of explanation, just point me in the right direction.

P.s: on their support page is a link to documentation. In that documentation are the examples for getting your name and names of your "friends", but the examples use CSteamID variable, which declaration is unknown.

1 Answer 1

7

You should be able to call:

SteamUser.GetSteamID();
3
  • I got it to work, but I don't know how to change id.getMediumAvatar() into Texture in unity3d? EDIT: Don't know how to do <code> tags. Sep 26, 2016 at 17:59
  • That sounds like the kind of thing that you should create a new question for, rather than nesting it in the comments on this one.
    – Matt
    Sep 27, 2016 at 13:56
  • 1
    Created a new one :D stackoverflow.com/questions/39709536/… Sep 28, 2016 at 5:39

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.