Пример #1
0
 public static Matchmaking GetInstance()
 {
     if (instance == null)
     {
         instance = new Matchmaking();
         r        = new Random();
     }
     return(instance);
 }
Пример #2
0
 public LobbyBehavior()
 {
     matchmaking = Matchmaking.GetInstance();
 }