Skip to content

Commit

Permalink
Added documentation. Renamed ClearAll to DeleteAll.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vangos committed Jan 9, 2019
1 parent 7ff9a3b commit e1f9e0e
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 3 deletions.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\LightBuzz.Settings.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ private void Check()
if (!_initialized) throw new Exception("Settings are not initialized. Call the Settings.Initialize() method from Unity's main thread.");
}

public void ClearAll()
public void DeleteAll()
{
if (_settings != null)
{
Expand Down
4 changes: 2 additions & 2 deletions LightBuzz.Settings.Unity/LightBuzz.Settings.Unity/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ public static void Remove(string key)
/// <summary>
/// USE CAUTIOUSLY! This method will delete all of the Settings!
/// </summary>
public static void ClearAll()
public static void DeleteAll()
{
PlayerPrefsEx.Instance.ClearAll();
PlayerPrefsEx.Instance.DeleteAll();
}
}
}

0 comments on commit e1f9e0e

Please sign in to comment.