Sets the sprite data from the JSON object.
name | type | description |
---|---|---|
sprite | Phaser.GameObjects.GameObject |
The object for which to populate |
properties | Object.<string, *> | Array.<Object> |
The properties to set in either JSON object format or else a list of objects with |