mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Updated doc for Input#deleteMoveCallback
This commit is contained in:
parent
a4b279b9cc
commit
89f860ad46
1 changed files with 1 additions and 4 deletions
|
@ -437,10 +437,7 @@ Phaser.Input.prototype = {
|
|||
},
|
||||
|
||||
/**
|
||||
* Adds a callback that is fired every time the activePointer receives a DOM move event such as a mousemove or touchmove.
|
||||
* It will be called every time the activePointer moves, which in a multi-touch game can be a lot of times, so this is best
|
||||
* to only use if you've limited input to a single pointer (i.e. mouse or touch).
|
||||
* The callback is added to the Phaser.Input.moveCallbacks array and should be removed with Phaser.Input.deleteMoveCallback.
|
||||
* Removes the callback at the defined index from the Phaser.Input.moveCallbacks array
|
||||
*
|
||||
* @method Phaser.Input#deleteMoveCallback
|
||||
* @param {number} index - The index of the callback to remove.
|
||||
|
|
Loading…
Reference in a new issue