🧪 Tested music setup with new music concept

This commit is contained in:
jonathan
2025-10-24 18:10:00 +02:00
parent 45d4b26b6a
commit 427db88474
25 changed files with 269 additions and 11 deletions
+16
View File
@@ -0,0 +1,16 @@
using Godot;
using System;
public partial class Button : Godot.Button
{
//[Export] private AudioStreamPlaybackInteractive _audioStreamInteractive;
[Export] private AudioStreamPlayer2D _palyer;
private int bla = 0;
public void Pressed()
{
bla = bla == 0 ? 1 : 0;
var s = ((AudioStreamPlaybackSynchronized)_palyer.GetStreamPlayback());
}
}