MVH/Scripts/Game/Sound.cs
2024-06-07 00:47:07 +02:00

21 lines
319 B
C#

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