key(key, x, y, color)
Renders Phaser.Key object information.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
key | Phaser.Key | The Key to render the information for. | ||
x | number | X position of the debug info to be rendered. | ||
y | number | Y position of the debug info to be rendered. | ||
color | string | <optional> | 'rgb(255,255,255)' | color of the debug info to be rendered. (format is css color string). |
- Source code: utils/Debug.js (Line 412)
Please login to continue.