Search Unity

Is there a way to add custom property to a server and filter by it on client?

Discussion in 'Multiplayer' started by levsha128, Aug 2, 2016.

  1. levsha128

    levsha128

    Joined:
    Aug 2, 2016
    Posts:
    1
    Hello.
    I want to add custom property to a server(selected map, for example) and filter list of servers by this property on client.
    How can i do that?
    I'm trying to manually filter by matchAttributes property of MatchInfoSnapshot object(that is returned as a parameter of ListMatches callback), but i don't now how to set this property on server.
    I'm using this asset https://www.assetstore.unity3d.com/en/#!/content/41836 as base.
    Thank you.
     
  2. chmAli

    chmAli

    Joined:
    Feb 27, 2016
    Posts:
    1
    did you find any solution ?