step one to squa
This commit is contained in:
parent
741d734b11
commit
69df2d6ce4
2 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,8 @@ func _notification(what: int) -> void:
|
|||
NOTIFICATION_WM_FOCUS_OUT:
|
||||
animation_player.playback_active = false
|
||||
$FamiVoice.stream_paused = true
|
||||
Audio.ac_music.stream_paused = true
|
||||
NOTIFICATION_WM_FOCUS_IN:
|
||||
animation_player.playback_active = true
|
||||
$FamiVoice.stream_paused = false
|
||||
Audio.ac_music.stream_paused = false
|
||||
|
|
|
@ -5,8 +5,10 @@ func _notification(what: int) -> void:
|
|||
match what:
|
||||
NOTIFICATION_WM_FOCUS_OUT:
|
||||
$AnimationPlayer.playback_active = false
|
||||
Audio.ac_music.stream_paused = true
|
||||
NOTIFICATION_WM_FOCUS_IN:
|
||||
$AnimationPlayer.playback_active = true
|
||||
Audio.ac_music.stream_paused = false
|
||||
|
||||
func _ready():
|
||||
Fade.fade_in(Options.transition_speed_secs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue