name | type | arguments | Default | description |
---|---|---|---|---|
key | string |
The key of the file. Must be unique within the Loader. |
||
url | Array.<string> | <optional> |
An array of absolute or relative URLs to load the script files from. They are processed in the order given in the array. |
|
extension | string | <optional> | 'js' |
The default file extension to use if no url is provided. |
xhrSettings | Phaser.Types.Loader.XHRSettingsObject | <optional> |
Extra XHR Settings specifically for these files. |