Ejemplo n.º 1
0
    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();
    }
Ejemplo n.º 2
0
 public void OnLogOutButtonPresseed()
 {
     MainSaveFiledetails.remember_me = false;
     MainSaveFiledetails.isLogIn     = false;
     MainSaveFiledetails.Save();
     LoadAllData();
 }
Ejemplo n.º 3
0
    public void OnCreateAccountButtonIsPressedFromPannel()
    {
        //create account and log in
        MainSaveFiledetails.email    = emailSignUpPannelInputField.text;
        MainSaveFiledetails.password = passwordSignInPannelInputField.text;
        MainSaveFiledetails.Save();

        CreateOrlogInPannel.SetActive(false);
        LoadAllData();
    }
Ejemplo n.º 4
0
 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();
 }
Ejemplo n.º 5
0
    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();
    }