mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Merge pull request #873 from foolmoron/dev
Updated docs for Tween.onUpdateCallback to indicate that you can specify...
This commit is contained in:
commit
8c0ac92f50
1 changed files with 2 additions and 1 deletions
|
@ -574,10 +574,11 @@ Phaser.Tween.prototype = {
|
|||
},
|
||||
|
||||
/**
|
||||
* Sets a callback to be fired each time this tween updates. Note: callback will be called in the context of the global scope.
|
||||
* Sets a callback to be fired each time this tween updates.
|
||||
*
|
||||
* @method Phaser.Tween#onUpdateCallback
|
||||
* @param {function} callback - The callback to invoke each time this tween is updated.
|
||||
* @param {object} callbackContext - The context in which to call the onUpdate callback.
|
||||
* @return {Phaser.Tween} Itself.
|
||||
*/
|
||||
onUpdateCallback: function (callback, callbackContext) {
|
||||
|
|
Loading…
Reference in a new issue