GlobalGameJam-2021/Assets/Scripts/AudioSound.cs
GamerClassN7 31f549c3d5 Audio
2021-01-31 11:52:14 +01:00

18 lines
294 B
C#

using UnityEngine;
using UnityEngine.Audio;
[System.Serializable]
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;
}