spriteInputInfo(sprite, x, y, color)
Render Sprite Input Debug information.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
sprite | Phaser.Sprite | Phaser.Image | The sprite to display the input data 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 391)
Please login to continue.