@galacean/engine 2.0.0-alpha.1 → 2.0.0-alpha.2

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/dist/browser.js CHANGED
@@ -42150,6 +42150,12 @@
42150
42150
  */ var AudioManager = /*#__PURE__*/ function() {
42151
42151
  function AudioManager() {}
42152
42152
  /**
42153
+ * Suspend the audio context.
42154
+ * @returns A promise that resolves when the audio context is suspended
42155
+ */ AudioManager.suspend = function suspend() {
42156
+ return AudioManager._context.suspend();
42157
+ };
42158
+ /**
42153
42159
  * Resume the audio context.
42154
42160
  * @remarks On iOS Safari, calling this within a user gesture (e.g., click/touch event handler) can pre-unlock audio and reduce playback delay.
42155
42161
  * @returns A promise that resolves when the audio context is resumed
@@ -52365,7 +52371,7 @@
52365
52371
  ], EXT_texture_webp);
52366
52372
 
52367
52373
  //@ts-ignore
52368
- var version = "2.0.0-alpha.1";
52374
+ var version = "2.0.0-alpha.2";
52369
52375
  console.log("Galacean Engine Version: " + version);
52370
52376
  for(var key in CoreObjects){
52371
52377
  Loader.registerClass(key, CoreObjects[key]);