Audio system and rich text

This commit is contained in:
Rendo 2025-06-29 14:28:51 +05:00
commit 68cafff083
161 changed files with 1605 additions and 255 deletions

View file

@ -0,0 +1,16 @@
using Godot;
[GlobalClass]
public partial class ChannelPlayer : Node
{
[Export] private ChannelSettings settings;
[Export] private AudioStream audioStream;
[Export] private string channel;
public void Play()
{
AudioSequencer.Play(channel, audioStream);
if (settings != null)
AudioSequencer.ChangeSettings(channel, settings);
}
}