Skip to content

Commit

Permalink
storage: changed default parameter of includeDeletableCaches
Browse files Browse the repository at this point in the history
  • Loading branch information
qua-iy committed Nov 6, 2024
1 parent ed646b5 commit a2603c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Packages/MobileSupportStorage/Runtime/Scripts/Storage.iOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public static partial class Storage
/// <summary>
/// Get usable space of internal storage.
/// </summary>
/// <param name="includeDeletableCaches">Set <c>true</c> to include size of deletable caches. Value showed at System are included.</param>
/// <param name="includeDeletableCaches">Set <c>false</c> to exclude size of deletable caches. To get value showed at System, set to <c>true</c>.</param>
/// <returns>Bytes of usable space. It will return -1 for internal error and in Unity editor.</returns>
public static long GetInternalUsableSpace(bool includeDeletableCaches = false)
public static long GetInternalUsableSpace(bool includeDeletableCaches = true)
{
#if UNITY_EDITOR
if (Application.isEditor)
Expand Down

0 comments on commit a2603c1

Please sign in to comment.