PracProg/Assets/Managers/AudioManager/Sound.cs

23 lines
292 B
C#
Raw Normal View History

2021-02-04 19:49:39 +01:00
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;
}