public void editMechanicInfo(string email) { //print (dictionaryCustomer [activitymanager.getCustomerLoggedIn().getEmail()].getLastName()); dictionaryMechanic.Remove(email); dictionaryMechanic.Add(activitymanager.getMechanicLoggedIn().getEmail(), activitymanager.getMechanicLoggedIn()); }
//get into hamburger menu public void hamburgerMenuButtonClicked() { //hamburger menu animationscript.playHamburgerMenuSlideInMechanic(); //hamburger menu background hamburgerMenuFadeBackground.SetActive(true); animationscript.playHamburgerMenuFadeBackgroundInMechanic(); //setting profile name hamburgerProfileName.text = activitymanager.getMechanicLoggedIn().getFirstName() + " " + activitymanager.getMechanicLoggedIn().getLastName(); }
public void setInputFields() { firstNameField.text = activitymanager.getMechanicLoggedIn().getFirstName(); lastNameField.text = activitymanager.getMechanicLoggedIn().getLastName(); emailField.text = activitymanager.getMechanicLoggedIn().getEmail(); passwordField.text = activitymanager.getMechanicLoggedIn().getPassword(); lattitudeField.text = activitymanager.getMechanicLoggedIn().lattitude.ToString(); longitudeField.text = activitymanager.getMechanicLoggedIn().longitude.ToString(); }