Exemplo n.º 1
0
 public void OnClick_CreateNameBtn()
 {
     PhotonNetwork.NickName = UserNameInput.text;
     room_creator           = UserNameInput.text;
     UserNameScreen.SetActive(false);
     ConnectScreen.SetActive(true);
 }
Exemplo n.º 2
0
 void Awake()
 {
     instance = this;
     UserNameScreen.SetActive(false);
     ConnectScreen.SetActive(false);
     CreateUserNameButton.SetActive(false);
     PhotonNetwork.ConnectUsingSettings();
 }