mirror of
https://github.com/Cookie-CHR/OfficeMadness-LD51.git
synced 2024-11-22 06:44:18 +00:00
18 lines
196 B
GDScript3
18 lines
196 B
GDScript3
|
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()
|