com.amanotes.gdk 0.2.33 → 0.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.34 - 2023-11-10]
4
+ - [Fix] ShowSuccessed event not call in editor
5
+ - Add clear all data button on AmaGDK prefab
6
+
3
7
  ## [0.2.33 - 2023-11-09]
4
8
  - Remove Adjust
5
9
  - Update RevenueCat attributes
@@ -229,6 +229,11 @@ namespace Amanotes.Editor
229
229
  ToggleGroup("Adapters", ref showAdapterInstaller, DrawGUI_AdapterList);
230
230
 
231
231
  //("Example", ref showExampleDetail, DrawGUI_ExampleScene);
232
+
233
+ if (GUILayout.Button("Clear All Data"))
234
+ {
235
+ GDKFileUtils.ClearCacheData();
236
+ }
232
237
  }
233
238
 
234
239
  private static void DrawVersion(string label, string version)
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -168,13 +168,13 @@ namespace Amanotes.Core.Internal
168
168
  StringBuilder logBuilder = new StringBuilder();
169
169
  logBuilder.AppendLine("[AmaGDK] All cached data & stats cleared");
170
170
 
171
- if (!Directory.Exists(_basePath))
171
+ if (!Directory.Exists(basePath))
172
172
  {
173
- logBuilder.AppendLine("Cache path not exists: " + _basePath);
173
+ logBuilder.AppendLine("Cache path not exists: " + basePath);
174
174
  return;
175
175
  }
176
176
 
177
- string[] filePaths = Directory.GetFiles(_basePath);
177
+ string[] filePaths = Directory.GetFiles(basePath);
178
178
  foreach (string path in filePaths)
179
179
  {
180
180
  Delete(path);
package/Runtime/AmaGDK.cs CHANGED
@@ -14,7 +14,7 @@ namespace Amanotes.Core
14
14
  {
15
15
  public partial class AmaGDK : MonoBehaviour
16
16
  {
17
- public const string VERSION = "0.2.33";
17
+ public const string VERSION = "0.2.34";
18
18
 
19
19
  internal static AmaGDK _instance;
20
20
  internal static Status _status = Status.None;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.amanotes.gdk",
3
- "version": "0.2.33",
3
+ "version": "0.2.34",
4
4
  "displayName": "AmaGDK",
5
5
  "description": "Amanotes Game Development Kit",
6
6
  "unity": "2019.4",