PracProg/Assets/Managers/AudioManager/Sound.cs
2021-02-04 19:49:39 +01:00

23 lines
292 B
C#

using UnityEngine.Audio;
using UnityEngine;
[System.Serializable]
public class Sound
{
public AudioClip clip;
[HideInInspector]
public AudioSource source;
public string name;
[Range(0f,1f)]
public float volume;
[Range(0f,1f)]
public float pitch;
}