2026-02-26 14:06:27 +00:00
|
|
|
|
|
|
|
|
using Godot;
|
|
|
|
|
|
2026-05-22 12:25:02 +00:00
|
|
|
using Rokojori.Extensions;
|
2026-02-26 14:06:27 +00:00
|
|
|
namespace Rokojori;
|
|
|
|
|
|
|
|
|
|
[Tool]
|
|
|
|
|
[GlobalClass]
|
|
|
|
|
public partial class UISoundData: Resource
|
|
|
|
|
{
|
|
|
|
|
[Export]
|
|
|
|
|
public Godot.AudioStream audio;
|
|
|
|
|
|
|
|
|
|
[Export( PropertyHint.Range, "0,1")]
|
|
|
|
|
public float volume = 1f;
|
|
|
|
|
|
|
|
|
|
[Export( PropertyHint.Range, "-36,36")]
|
|
|
|
|
public float pitchSemitonesOffset = 0f;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|