You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Babushka/scenes/testing/Button.cs

17 lines
385 B

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());
}
}