Search Unity

Sign-In feature in Unity?

Discussion in 'General Discussion' started by Keymonso, Dec 24, 2019.

  1. Keymonso

    Keymonso

    Joined:
    Dec 24, 2019
    Posts:
    2
    Currently, I am trying to create an android social app/game. One of the basic features we need to implement is to match two users and start a game. I know how to make the sign-in feature with JAVA in Android Studio. My question is in the industry, how do people work this out? Do they combine JAVA and Unity together (plug the unity game project into Android studio) or do it entirely in Unity?

    Sorry, I am a complete noobie and this question might be too general and ambiguous.
     
  2. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Most likely a web server with Https requests send to it...
     
  3. kmedved

    kmedved

    Joined:
    Aug 18, 2016
    Posts:
    189
  4. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Its possible to do in C# via basic Unity functionality and in native language via plugins as well.
    (C# to Java is done via JNI in Unity)

    I'd suggest looking into C# side though, as that will provide cross platform support out of the box.
    Also, there's already a bunch of those solutions available online.

    If you're not going to host server on your own, you can look into something GameSparks alike that fits your project.