退出按钮函数注释
This commit is contained in:
parent
ee51e886a8
commit
6b47351c30
@ -19,16 +19,16 @@ func update():
|
|||||||
%SceneDescription.text = sceneDesc
|
%SceneDescription.text = sceneDesc
|
||||||
|
|
||||||
|
|
||||||
#func _on_start_pressed():
|
func _on_start_pressed():
|
||||||
#StartTraining.emit()
|
StartTraining.emit()
|
||||||
#hide()
|
|
||||||
|
|
||||||
func _on_quit_pressed():
|
|
||||||
QuitTraining.emit()
|
|
||||||
JavaScriptBridge.eval("console.log('关闭浏览器标签')")
|
|
||||||
JavaScriptBridge.eval("window.close();")
|
|
||||||
hide()
|
hide()
|
||||||
|
|
||||||
|
#func _on_quit_pressed():
|
||||||
|
#QuitTraining.emit()
|
||||||
|
#JavaScriptBridge.eval("console.log('关闭浏览器标签')")
|
||||||
|
#JavaScriptBridge.eval("window.close();")
|
||||||
|
#hide()
|
||||||
|
|
||||||
|
|
||||||
func _on_teach_mode_pressed():
|
func _on_teach_mode_pressed():
|
||||||
$"../total".trainingMode = TotalScene.Training_Mode.Teach
|
$"../total".trainingMode = TotalScene.Training_Mode.Teach
|
||||||
|
Loading…
Reference in New Issue
Block a user