修复cannon小程序单击左键没用
This commit is contained in:
@@ -31,7 +31,7 @@ function scene.keyDown(key,isRep)
|
|||||||
SCN.back()
|
SCN.back()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
function scene.mouseDown(k)
|
function scene.mouseDown(_,_,k)
|
||||||
if k==1 then
|
if k==1 then
|
||||||
scene.keyDown("space")
|
scene.keyDown("space")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user