From a2603c165f0d249e606ee6cff5a8edb1f1335d2d Mon Sep 17 00:00:00 2001 From: Yusuke Ishiguro Date: Wed, 6 Nov 2024 11:24:46 +0900 Subject: [PATCH] storage: changed default parameter of includeDeletableCaches --- Packages/MobileSupportStorage/Runtime/Scripts/Storage.iOS.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/MobileSupportStorage/Runtime/Scripts/Storage.iOS.cs b/Packages/MobileSupportStorage/Runtime/Scripts/Storage.iOS.cs index 699f5bf..fab2c55 100644 --- a/Packages/MobileSupportStorage/Runtime/Scripts/Storage.iOS.cs +++ b/Packages/MobileSupportStorage/Runtime/Scripts/Storage.iOS.cs @@ -18,9 +18,9 @@ public static partial class Storage /// /// Get usable space of internal storage. /// - /// Set true to include size of deletable caches. Value showed at System are included. + /// Set false to exclude size of deletable caches. To get value showed at System, set to true. /// Bytes of usable space. It will return -1 for internal error and in Unity editor. - public static long GetInternalUsableSpace(bool includeDeletableCaches = false) + public static long GetInternalUsableSpace(bool includeDeletableCaches = true) { #if UNITY_EDITOR if (Application.isEditor)