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
|
-
|
|
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
|
-
|
|
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 =
|
|
280
|
+
var gameConfig = GameConfig.Load();
|
|
281
281
|
if(!gameConfig){
|
|
282
282
|
return false;
|
|
283
283
|
}
|
package/Editor/Publish/Deploy.cs
CHANGED
|
@@ -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 =
|
|
45
|
+
var gameConfig = CreateAssetBundles.BuildGameConfig();
|
|
46
46
|
if (gameConfig.supportsMobile) {
|
|
47
47
|
platforms.Add(AirshipPlatform.iOS);
|
|
48
48
|
platforms.Add(AirshipPlatform.Android);
|