public void DialogEsp() { DialogPanel.SetActive(true); panel.SetActive(false); string str = String.Format("Are you sure you want to go to the Main Menu?"); _panelText.DialogShow(str, PhotonGameManager.GameManager.Leave, DialogFalse); }
public void Dialog_Room(string name) { if (name == "CreateGame") { string str = string.Format("Are you sure you want to create a room? \n Room Name - " + "<color=#3FBF3F> {0} </color>" + "\n Max Player - <color=#0969A2> {1} </color>", CreateRoomTextName.text, countPlayer); _panelText_Scr.DialogShow(str, CreateRoom, _panelText_Scr.ClosePanel); } else if (name == "JoinRandom") { string str = string.Format("Do you want to join a Random room?"); _panelText_Scr.DialogShow(str, JoinRandomRoom, _panelText_Scr.ClosePanel); } else if (name == "ExitGame") { string str = string.Format("Are you sure you want to quit the game?"); _panelText_Scr.DialogShow(str, Leave_game, _panelText_Scr.ClosePanel); } }
public void onCLICKJoinRoom() { string str = String.Format("Do you want to join a room \n Name Room - <color=#3FBF3F> {0} </color>", namestring); dialog.DialogShow(str, JointRoom, dialog.ClosePanel); }