20 lines
437 B
C#
20 lines
437 B
C#
using Rust.Instruments;
|
|
using UnityEngine;
|
|
|
|
public class InstrumentDebugInput : MonoBehaviour
|
|
{
|
|
public InstrumentKeyController KeyController;
|
|
|
|
public InstrumentKeyController.KeySet Note = new InstrumentKeyController.KeySet
|
|
{
|
|
Note = Notes.A,
|
|
NoteType = InstrumentKeyController.NoteType.Regular,
|
|
OctaveShift = 3
|
|
};
|
|
|
|
public float Frequency = 0.75f;
|
|
|
|
public float StopAfter = 0.1f;
|
|
|
|
public SoundDefinition OverrideDefinition;
|
|
}
|