@ignifx/particles 0.3.1 → 0.5.0

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/index.d.ts CHANGED
@@ -687,7 +687,7 @@ interface ParticleRendererInput {
687
687
  *
688
688
  * @example
689
689
  * ```ts
690
- * const handle = app.assets.load<ParticleAsset>("fx/fire.particles.json").retain();
690
+ * const handle = app.assets.load<ParticleAsset>("fx/fire.particles.json");
691
691
  * await handle.promise;
692
692
  * handle.value.definition.main.capacity; // 1000
693
693
  * ```
package/dist/index.js CHANGED
@@ -133,7 +133,7 @@ const PARTICLE_FRAME_MODES = [
133
133
  *
134
134
  * @example
135
135
  * ```ts
136
- * const handle = app.assets.load<ParticleAsset>("fx/fire.particles.json").retain();
136
+ * const handle = app.assets.load<ParticleAsset>("fx/fire.particles.json");
137
137
  * await handle.promise;
138
138
  * handle.value.definition.main.capacity; // 1000
139
139
  * ```