/// <summary>
 /// Assign player.
 /// </summary>
 /// <param name="startInfo"></param>
 public void addPlayerToList(NPTournamentStartDataContainer startInfo)
 {
     Random.seed = ((int)startInfo.TournamentRandomSeed);
             playerIDList.Add (long.Parse (startInfo.CurrentPlayer.PlayerId));
             playerIDList.Add (long.Parse (startInfo.Opponents [0].PlayerId));
             playerIDList.Sort ();
 }
 /// <summary>
 /// Wills the tournament start with details.
 /// </summary>
 /// <param name="startInfo">Start info.</param>
 private void WillTournamentStartWithDetails(NPTournamentStartDataContainer startInfo)
 {
     //	UIManager.instance.selectionPanel.gameObject.SetActive (false);
             //	UIManager.instance.mainPanel.gameObject.SetActive (false);
             Debug.Log ("Will Start Tournamnet");
 }
 /// <summary>
 /// Dids the tournament start with details.
 /// </summary>
 /// <param name="startInfo">Start info.</param>
 private void DidTournamentStartWithDetails(NPTournamentStartDataContainer startInfo)
 {
     addPlayerToList (startInfo);
             playerId = startInfo.CurrentPlayer.PlayerId;
             for (int i = 0; i < startInfo.Opponents.Length; i++) {
                     opponentsName.Add (startInfo.Opponents [i].PlayerName);
                     opponentsId.Add (startInfo.Opponents [i].PlayerId.ToString ());
             }
             totalOppnents = startInfo.Opponents.Length;
             Debug.Log (totalOppnents);
             Debug.Log ("id count " + opponentsId.Count);
             Debug.Log ("name count " + opponentsName.Count);
             Debug.Log ("Player iD" + playerId);
             //Call to game start method
             // GameStart();
 }