void OnPress(){

		if(playerscript.playerName == "" || playerscript.playerName == "Player Name"){

			audio.PlayOneShot(error, 0.2f);


		} else {
			transition = transitioner.GetComponent<Transitioner>();
			PlayerServerInfo.Instance.localOptions.username = playerscript.playerName;
			//PlayerServerInfo.instance.servername = playerscript.gameName;
			audio.PlayOneShot(pageturn);
			transition.Flip("FindingGames", false);
		}

	}
    void OnPress()
    {

        if (playerscript.playerName == "" || playerscript.playerName == "Player Name")
        {
			audio.PlayOneShot(error, 0.2f);

        }
        else
        {
			transition = transitioner.GetComponent<Transitioner>();
			PlayerServerInfo.Instance.localOptions.username = playerscript.playerName;
			PlayerServerInfo.Instance.choice = "Host";
			audio.PlayOneShot(pageturn);
			transition.Flip("HostMenu", false);
        }
    }