/// <summary>
        /// Actualiza lista de jugadores en la sala de espera
        /// </summary>
        public void ListarJugadoresEspera()
        {
            Player[]      playerNoHost = PhotonNetwork.PlayerList;
            List <Player> PlayerList   = new List <Player>();//Copia de PhotonNetwork.PlayerList sin el host de la sala

            PlayerList.AddRange(playerNoHost);
            PlayerList.Remove(PhotonNetwork.MasterClient);

            if (buttons.Count > 0)
            {
                foreach (AvatarCreator button in buttons)
                {
                    Destroy(button.gameObject);
                }
            }
            buttons.Clear();

            foreach (Player p in PlayerList)
            {
                AvatarCreator button = Instantiate(playerTemplate) as AvatarCreator;
                button.gameObject.SetActive(true);
                button.ConstruirAvatar(p.CustomProperties["Imagen"] as string);
                button.transform.SetParent(playerTemplate.transform.parent, false);
                buttons.Add(button);
            }
        }
 public void InstanciarBotones()
 {
     for (int i = 0; i < PhotonNetwork.CurrentRoom.MaxPlayers - 1; i++)
     {
         AvatarCreator button = Instantiate(playerTemplate) as AvatarCreator;
         button.gameObject.SetActive(true);
         button.transform.SetParent(playerTemplate.transform.parent, false);
         buttons.Add(button);
     }
 }
        public void ListarJugadores()
        {
            if (buttons.Count > 0)
            {
                foreach (AvatarCreator button in buttons)
                {
                    Destroy(button.gameObject);
                }
            }
            buttons.Clear();

            foreach (Player p in PhotonNetwork.PlayerList)
            {
                AvatarCreator button = Instantiate(playerTemplate) as AvatarCreator;
                button.gameObject.SetActive(true);
                button.ConstruirAvatar(p.CustomProperties["Imagen"] as string);
                button.ObtenerNombre(p.NickName);
                button.transform.SetParent(playerTemplate.transform.parent, false);
                buttons.Add(button);
            }
        }