Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add force save settings #41

Merged
merged 3 commits into from
Nov 12, 2020
Merged

Conversation

AlexanderVorobyov
Copy link
Member

@AlexanderVorobyov AlexanderVorobyov commented Nov 12, 2020

  • Method CustomSettings<T>.OnSaveSettings(T data) has been deprecated. Use CustomSettings<T>.OnSaveSettings(T data, bool force) instead.
  • Add force optional argument for CustomSettings<T>.SaveSettings() method, to determines whether to force serialization of the settings data.
  • Change CustomSettingsPrefs<T>.ForceSave property to be deprecated, PlayerPrefs.Save() now always executed.

@AlexanderVorobyov
Copy link
Member Author

Linked Issue: #39.

@AlexanderVorobyov AlexanderVorobyov added the Change Mentioned in changelog under the Changed section. label Nov 12, 2020
@AlexanderVorobyov AlexanderVorobyov added this to the Unreleased milestone Nov 12, 2020
@AlexanderVorobyov AlexanderVorobyov merged commit f8c6069 into develop Nov 12, 2020
@AlexanderVorobyov AlexanderVorobyov deleted the issue-39-add-force-save-settings branch November 12, 2020 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Change Mentioned in changelog under the Changed section.
Projects
No open projects
Status: 9 Nov - 15 Nov 2020
Development

Successfully merging this pull request may close these issues.

1 participant