整理代码,表示键盘按键的字符串使用单引号
This commit is contained in:
@@ -25,7 +25,7 @@ end
|
||||
function scene.keyDown(key,isRep)
|
||||
if isRep then return end
|
||||
_push("[keyDown] <"..key..">")
|
||||
if key=="escape"then
|
||||
if key=='escape'then
|
||||
backCounter=backCounter-1
|
||||
if backCounter==0 then
|
||||
SCN.back()
|
||||
|
||||
Reference in New Issue
Block a user