Phaser API Documentation

  Version: 
each(callback, [context], [args])

Description:

Passes all data entries to the given callback.

Parameters:

name type arguments description
callback DataEachCallback

The function to call.

context * <optional>

Value to use as this when executing callback.

args * <optional>

Additional arguments that will be passed to the callback, after the game object, key, and data.

Returns:
Description:

This DataManager object.

Since: 3.0.0
Source: src/data/DataManager.js (Line 415)