GlobalGameJam-2021/Assets/Scripts/AudioSound.cs
GamerClassN7 57f32d4dd5 Fixes
2021-01-31 14:46:24 +01:00

20 lines
329 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 = 1f;
public bool loop = false;
[HideInInspector]
public AudioSource source;
}