Phaser API Documentation

  Version: 

Member of: Phaser.Loader

<static> MergeXHRSettings(global, local)

Description:

Takes two XHRSettings Objects and creates a new XHRSettings object from them.

The new object is seeded by the values given in the global settings, but any setting in the local object overrides the global ones.

Parameters:

name type description
global Phaser.Types.Loader.XHRSettingsObject

The global XHRSettings object.

local Phaser.Types.Loader.XHRSettingsObject

The local XHRSettings object.

Returns:
Description:

A newly formed XHRSettings object.

Since: 3.0.0