21 lines
306 B
C#
21 lines
306 B
C#
|
|
|
||
|
|
using Godot;
|
||
|
|
|
||
|
|
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;
|
||
|
|
|
||
|
|
}
|
||
|
|
|