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

15 lines
312 B
C#
Raw Normal View History

2021-12-29 20:50:11 +03:00
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;
}