idk i'm the only contributer so doesnt matter :/

This commit is contained in:
2023-01-27 19:25:45 +01:00
parent 5ce5dc090e
commit 077451a574
15 changed files with 135 additions and 27 deletions

View File

@@ -0,0 +1,11 @@
using Godot;
public partial class audioplayer_tile : StaticBody2D
{
[Export] bool soundOn = true;
public void OnAudioFinished()
{
if (soundOn) GetNode<AudioStreamPlayer2D>("audio_stream_player_2d").Play();
}
}