Пример #1
0
    /// <summary>
    /// Saves the current profiles into a file.
    /// </summary>
    public void SaveCurrentProfiles()
    {
        var dataPath   = Path.GetFullPath(Path.Combine(Application.persistentDataPath, PROFILES_FILE));
        var descriptor = ProfileData.CreateXml(UserProfiles);

        SaveXml(dataPath, descriptor);
    }