@galacean/engine-spine 1.0.0-test.0 → 1.0.0-test.1

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.
@@ -8463,20 +8463,20 @@ var SpineLoader$1 = // @ts-ignore
8463
8463
  var isBinFile = _this.isBinFile(skeletonFile);
8464
8464
  if (skeletonFile && atlasFile && textureFile) {
8465
8465
  if (isBinFile) {
8466
- assetManager.loadBinary(skeletonFile);
8466
+ assetManager.loadBinary(skeletonFile, reject);
8467
8467
  } else {
8468
- assetManager.loadText(skeletonFile);
8468
+ assetManager.loadText(skeletonFile, reject);
8469
8469
  }
8470
- assetManager.loadText(atlasFile);
8471
- assetManager.loadTexture(textureFile);
8470
+ assetManager.loadText(atlasFile, reject);
8471
+ assetManager.loadTexture(textureFile, reject);
8472
8472
  } else if (skeletonFile && atlasFile && !textureFile) {
8473
8473
  autoLoadTexture = true;
8474
8474
  if (isBinFile) {
8475
- assetManager.loadBinary(skeletonFile);
8475
+ assetManager.loadBinary(skeletonFile, reject);
8476
8476
  } else {
8477
- assetManager.loadText(skeletonFile);
8477
+ assetManager.loadText(skeletonFile, reject);
8478
8478
  }
8479
- assetManager.loadTextureAtlas(atlasFile);
8479
+ assetManager.loadTextureAtlas(atlasFile, reject);
8480
8480
  } else {
8481
8481
  reject("Resouce param error");
8482
8482
  }
package/dist/module.js CHANGED
@@ -8458,20 +8458,20 @@ var SpineLoader$1 = // @ts-ignore
8458
8458
  var isBinFile = _this.isBinFile(skeletonFile);
8459
8459
  if (skeletonFile && atlasFile && textureFile) {
8460
8460
  if (isBinFile) {
8461
- assetManager.loadBinary(skeletonFile);
8461
+ assetManager.loadBinary(skeletonFile, reject);
8462
8462
  } else {
8463
- assetManager.loadText(skeletonFile);
8463
+ assetManager.loadText(skeletonFile, reject);
8464
8464
  }
8465
- assetManager.loadText(atlasFile);
8466
- assetManager.loadTexture(textureFile);
8465
+ assetManager.loadText(atlasFile, reject);
8466
+ assetManager.loadTexture(textureFile, reject);
8467
8467
  } else if (skeletonFile && atlasFile && !textureFile) {
8468
8468
  autoLoadTexture = true;
8469
8469
  if (isBinFile) {
8470
- assetManager.loadBinary(skeletonFile);
8470
+ assetManager.loadBinary(skeletonFile, reject);
8471
8471
  } else {
8472
- assetManager.loadText(skeletonFile);
8472
+ assetManager.loadText(skeletonFile, reject);
8473
8473
  }
8474
- assetManager.loadTextureAtlas(atlasFile);
8474
+ assetManager.loadTextureAtlas(atlasFile, reject);
8475
8475
  } else {
8476
8476
  reject("Resouce param error");
8477
8477
  }