gg.easy.airship 0.1.2187 → 0.1.2188

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.
@@ -1,5 +1,4 @@
1
- // Assets/Editor/DownloadClothingWindow.cs
2
-
1
+ #if UNITY_EDITOR
3
2
  using System;
4
3
  using System.Collections.Generic;
5
4
  using System.Threading;
@@ -143,3 +142,4 @@ namespace Code.Accessories.Clothing.Editor {
143
142
  }
144
143
  }
145
144
  }
145
+ #endif
@@ -19,14 +19,17 @@ namespace Code.Accessories.Clothing {
19
19
  }
20
20
  }
21
21
 
22
+ [Serializable]
22
23
  public class GearFetchResponse {
23
24
  public GearDto gear;
24
25
  }
25
26
 
27
+ [Serializable]
26
28
  public class GearDto {
27
29
  public GearListingDto gear;
28
30
  }
29
31
 
32
+ [Serializable]
30
33
  public class GearListingDto {
31
34
  public string category;
32
35
  public string subcategory;
@@ -79,6 +82,7 @@ namespace Code.Accessories.Clothing {
79
82
 
80
83
  var gearRes = JsonUtility.FromJson<GearFetchResponse>(req.downloadHandler.text);
81
84
  airId = gearRes.gear.gear.airAssets[0];
85
+ classIdToAirIdCache[classId] = airId;
82
86
  }
83
87
 
84
88
  return await DownloadYielding(classId, airId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gg.easy.airship",
3
- "version": "0.1.2187",
3
+ "version": "0.1.2188",
4
4
  "displayName": "Airship",
5
5
  "unity": "2021.3",
6
6
  "unityRelease": "12f1",