GlobalGameJam-2021/Assets/Scripts/AudioSound.cs

18 lines
294 B
C#
Raw Normal View History

2021-01-31 10:43:20 +00:00
using UnityEngine;
using UnityEngine.Audio;
2021-01-31 10:52:14 +00:00
[System.Serializable]
2021-01-31 10:43:20 +00:00
public class AudioSound
{
public string name;
public AudioClip clip;
[Range(0f, 1f)]
public float volume;
[Range(.1f, 3f)]
public float pitch;
[HideInInspector]
public AudioSource source;
}