1
Fork 0
mirror of https://github.com/Cookie-CHR/LD54-SPAce-ltd.git synced 2024-11-25 00:34:18 +00:00
space-ltd/Music/Muter.gd
Cookie 57509881c7
✏️ Graphics and music
Main upload is now complete! I hope
2023-10-15 18:48:24 +02:00

17 lines
196 B
GDScript

extends Node
var mute = false
func _ready():
pass;
func get_mute():
return mute
func mute_unmute():
if (mute):
mute = false
MusicPlayer.play()
else:
mute = true
MusicPlayer.stop()