void ConvertFilesListToString() { string fileName = ""; string fileCallName = ""; for (int i = 0; i < pu_fileNames.Count; i++) { fileName += "Pu_Note:" + pu_fileNames[i] + ";"; fileCallName += "Pu_Note:" + pu_fileCallNames[i] + ";"; } MainSaveFiledetails.pu_filenames = fileName; MainSaveFiledetails.pu_fileCallname = fileCallName; fileName = ""; fileCallName = ""; for (int i = 0; i < pr_fileNames.Count; i++) { fileName += "Pr_Note:" + pr_fileNames[i] + ";"; fileCallName += "Pr_Note:" + pr_fileCallNames[i] + ";"; } MainSaveFiledetails.pr_filenames = fileName; MainSaveFiledetails.pr_fileCallname = fileCallName; MainSaveFiledetails.Save(); }
public void OnLogOutButtonPresseed() { MainSaveFiledetails.remember_me = false; MainSaveFiledetails.isLogIn = false; MainSaveFiledetails.Save(); LoadAllData(); }
public void OnCreateAccountButtonIsPressedFromPannel() { //create account and log in MainSaveFiledetails.email = emailSignUpPannelInputField.text; MainSaveFiledetails.password = passwordSignInPannelInputField.text; MainSaveFiledetails.Save(); CreateOrlogInPannel.SetActive(false); LoadAllData(); }
public void OnRememberMeButtonPressed() { if (MainSaveFiledetails.remember_me == false) { MainSaveFiledetails.remember_me = true; RememberMeCheckBoxButton.GetComponent <Image>().sprite = remember_meCheckbox; } else { MainSaveFiledetails.remember_me = false; RememberMeCheckBoxButton.GetComponent <Image>().sprite = null; } MainSaveFiledetails.Save(); }
public void AddPrivateNotesButtonClicked() { //open note pannel and access to the gameObject.GetComponent <AppController>().ActivatePanel("NoteBookPannel"); MenuButtonPressed(); int d = 0; MainSaveFiledetails.pr_filenames += "Pr_Note:pr_info" + (saveload.current_total_public_file_count + 1) + ".dat;"; MainSaveFiledetails.pr_fileCallname += "Pr_Note:Quick Private Note " + (saveload.current_total_public_file_count + 1) + ";"; MainSaveFiledetails.Save(); saveload.current_filename = "pr_info" + (saveload.current_total_public_file_count + 1) + ".dat"; saveload.current_filenameCallingName = "Quick Private Note"; LoadAllData(); gameObject.GetComponent <AppController>().NoteBookContent(); }