FileConfig.maxRetries is a new File Config option to set the number of retries a file will attempt to load. If not specified in the config, the value is read from the LoaderPlugin.maxRetries property.

This commit is contained in:
Richard Davey 2024-08-07 15:43:11 +01:00
parent 0a7df76c3f
commit 4021fa50fa

View file

@ -51,4 +51,5 @@
* @property {string} [systemKey] - If this plugin is to be added to Scene.Systems, this is the property key for it.
* @property {string} [sceneKey] - If this plugin is to be added to the Scene, this is the property key for it.
* @property {Phaser.Types.Loader.FileTypes.SVGSizeConfig} [svgConfig] - The svg size configuration object.
* @property {number} [maxRetries=2] - The number of times to retry the file load if it fails.
*/