SCN.back会先检测是否正在切换场景
This commit is contained in:
@@ -152,6 +152,8 @@ function SCN.go(tar,style)--Normal scene swapping, can back
|
||||
end
|
||||
end
|
||||
function SCN.back()
|
||||
if SCN.swapping then return end
|
||||
|
||||
--Leave scene
|
||||
if SCN.sceneBack then SCN.sceneBack()end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user