Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     accountPassword.inputType = InputField.InputType.Password;
     accountMail.text          = LoginSave.LoadMailLogin();
     submitButton.onClick.AddListener(CallLogin);
     registerButton.onClick.AddListener(GoToRegistrationScreen);
     PhotonNetwork.AuthValues = new AuthenticationValues("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa");
     exitButton.onClick.AddListener(AskForExit);
     dialogButtonBtn.onClick.AddListener(ConfirmationDialogBox);
     offlineRoomButton.onClick.AddListener(AskForOffline);
 }