forked from team-sg/hero-mark-2
fix unfocused animations in more places
This commit is contained in:
parent
0bae67fd3b
commit
0e63883cdd
3 changed files with 26 additions and 8 deletions
9
menus/credits.gd
Normal file
9
menus/credits.gd
Normal file
|
@ -0,0 +1,9 @@
|
|||
extends Node
|
||||
|
||||
|
||||
func _notification(what: int) -> void:
|
||||
match what:
|
||||
NOTIFICATION_WM_FOCUS_OUT:
|
||||
$AnimationPlayer.playback_active = false
|
||||
NOTIFICATION_WM_FOCUS_IN:
|
||||
$AnimationPlayer.playback_active = true
|
Loading…
Add table
Add a link
Reference in a new issue