Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Enter the 2020.2 Beta Sweepstakes for a chance to win an Oculus Quest 2.
    Dismiss Notice

Unity Multiplayer What happened to UnityEngine.Networking.Match?

Discussion in '5.4 Beta' started by rikey, Mar 25, 2016.

  1. rikey

    rikey

    Joined:
    Mar 3, 2015
    Posts:
    147
  2. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    2,346
    The API got heavily simplified. MatchInfo and MatchInfoSnapshot are now the only things needed for the new callbacks. For example:

    Code (csharp):
    1. matchMaker.JoinMatch(..., OnMatchJoined);
    2.  
    3. public override void OnMatchJoined(bool success, string extendedInfo, MatchInfo matchInfo)
    4. {
    5.   ...
    6. }
    No JoinMatchRequest/JoinMatchResponse and other stuff. You can find these callbacks by looking through and actually using the API in your code (with intellisense). Nevertheless, the online docs are a bit outdated (the API changed in a previous 5.4 beta).
     
    Stephen_O and landon912 like this.
  3. landon912

    landon912

    Joined:
    Nov 8, 2011
    Posts:
    1,573
    This is nice, UT, please continue to do this with the entire networking API.
     
unityunity