Phaser API Documentation

  Version: 
PluginFileConfig
Properties:
name type arguments Default description
key string

The key of the file. Must be unique within the Loader.

url string <optional>

The absolute or relative URL to load the file from.

extension string <optional> 'js'

The default file extension to use if no url is provided.

start boolean <optional> false

Automatically start the plugin after loading?

mapping string <optional>

If this plugin is to be injected into the Scene, this is the property key used.

xhrSettings Phaser.Types.Loader.XHRSettingsObject <optional>

Extra XHR Settings specifically for this file.

Type:
object