Пример #1
0
    public void IsEncryptedJson()
    {
        UIManager uiManager = FindObjectOfType <UIManager>();

        try
        {
            json = File.ReadAllText(WalletManager.Instance.jsonPath);

            uiManager.creatFlag = false;
            uiManager.AccountButton();
        }
        catch (FileNotFoundException)
        {
            uiManager.creatFlag = true;
            uiManager.AccountButton();
        }
    }