How do I implement a third party API into Unity 3D? For Flash.

  • This UA didn’t really help me, because it’s not for web, so it says in man.
  • Youtube Tut Almost helped me, but it’s not for Unity 3D - how do I implement that in Unity?
  • Youtube Tut helped me allot but problem is it’s only for Upload, not how to program a game in there to use API.

What I want to learn is:

    int userInteger = 0;
    string userName = "";
    public Start(){
        userName = "default User Name on the NewGrounds";
    }
    public void SomeUserFunction(int Imput){
        integer = Imput;
    }
  • when he first logs in he get’s his own userName.

  • so first time the he logs on the userInteger will be default 0.

  • but the second time he logs on the default will be whatever the User has had it last time.

Do you know PlayerPrefs ? Unity - Scripting API: PlayerPrefs

yes I do know, … BUT if I use that won’t it store on the server?

so it would be like static?

Just 1 storage from where everyone will read and write?

but I’m interested in more how to read the default userName, … and if I learn that I can later implement medals and so on, …

No playerpref are stored locally so each client has its own data.

For the rest it depends 100% on how you create the server or which cloud service you use…