SamsonGame/Assets/Scripts/Managers/Sounds/SoundClip.cs

15 lines
312 B
C#

using System;
using UnityEngine;
[Serializable]
public class SoundClip
{
public AudioSource Source { get; set; }
public string name;
public AudioClip clip;
[Range(0f, 1f)] public float volume = 1f;
[Range(0.1f, 3f)] public float pitch = 1f;
public bool loop;
public bool disabled;
}