Phaser API Documentation

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

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

url string | function <optional>

The absolute or relative URL to load the file from. Or, a Scene Plugin.

extension string <optional> 'js'

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

systemKey string <optional>

If this plugin is to be added to Scene.Systems, this is the property key for it.

sceneKey string <optional>

If this plugin is to be added to the Scene, this is the property key for it.

xhrSettings Phaser.Types.Loader.XHRSettingsObject <optional>

Extra XHR Settings specifically for this file.

Type:
object