mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-05 06:44:56 +08:00
Shoot after moving hoverboard crosshair.
This commit is contained in:
parent
4fe53ac856
commit
1cb78f658d
@ -113,6 +113,7 @@ var hoverboardDemo = function(canvas, bgColor) {
|
||||
}
|
||||
},
|
||||
up: function(x, y) {
|
||||
if (target && target.data.name == "crosshair") $("#hoverboard-shoot").click();
|
||||
target = null;
|
||||
},
|
||||
dragged: function(x, y) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user