public void OnNewJoin() { newJoin = true; var region = Regions.GetRegionShortName(currentServer.text); if (PhotonNetwork.IsConnected) { PhotonNetwork.Disconnect(); } currentServer.text = "Connecting..."; PhotonNetwork.ConnectToRegion(region); notice.WaitToConnect(); }