检测游戏窗口失去焦点
2022-12-12 本文已影响0人
Hi小胡
func _notification(what):
match what:
MainLoop.NOTIFICATION_APPLICATION_FOCUS_OUT:
print("out")
pass
MainLoop.NOTIFICATION_APPLICATION_FOCUS_IN:
print("in")
pass
pass