mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Marked argument as optional. Fix #4607
This commit is contained in:
parent
b9f7052874
commit
33e15dca48
1 changed files with 2 additions and 2 deletions
|
@ -313,8 +313,8 @@ var GameObject = new Class({
|
|||
* @method Phaser.GameObjects.GameObject#setData
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {(string|object)} key - The key to set the value for. Or an object or key value pairs. If an object the `data` argument is ignored.
|
||||
* @param {*} data - The value to set for the given key. If an object is provided as the key this argument is ignored.
|
||||
* @param {(string|object)} key - The key to set the value for. Or an object of key value pairs. If an object the `data` argument is ignored.
|
||||
* @param {*} [data] - The value to set for the given key. If an object is provided as the key this argument is ignored.
|
||||
*
|
||||
* @return {this} This GameObject.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue