gg.easy.airship 0.1.2110 → 0.1.2111

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.
@@ -237,7 +237,7 @@ public static class CreateAssetBundles {
237
237
  }
238
238
  #endif
239
239
 
240
- private static GameConfig BuildGameConfig(){
240
+ public static GameConfig BuildGameConfig() {
241
241
  GameConfig gameConfig = GameConfig.Load();
242
242
 
243
243
  // Update tags
@@ -264,7 +264,7 @@ public static class CreateAssetBundles {
264
264
  return gameConfig;
265
265
  }
266
266
 
267
- private static bool BuildGameAssetBundles(AirshipPlatform platform, bool useCache = true) {
267
+ public static bool BuildGameAssetBundles(AirshipPlatform platform, bool useCache = true) {
268
268
  ResetScenes();
269
269
 
270
270
  if (!PrePublishChecks()) {
@@ -277,7 +277,7 @@ public static class CreateAssetBundles {
277
277
  }
278
278
 
279
279
  var sw = Stopwatch.StartNew();
280
- var gameConfig = BuildGameConfig();
280
+ var gameConfig = GameConfig.Load();
281
281
  if(!gameConfig){
282
282
  return false;
283
283
  }
@@ -42,7 +42,7 @@ public class Deploy {
42
42
  // NetworkPrefabManager.WriteAllCollections();
43
43
  // Sort the current platform first to speed up build time
44
44
  List<AirshipPlatform> platforms = new();
45
- var gameConfig = GameConfig.Load();
45
+ var gameConfig = CreateAssetBundles.BuildGameConfig();
46
46
  if (gameConfig.supportsMobile) {
47
47
  platforms.Add(AirshipPlatform.iOS);
48
48
  platforms.Add(AirshipPlatform.Android);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gg.easy.airship",
3
- "version": "0.1.2110",
3
+ "version": "0.1.2111",
4
4
  "displayName": "Airship",
5
5
  "unity": "2021.3",
6
6
  "unityRelease": "12f1",