rabidus-test/Assets/Sound.cs

16 lines
378 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Sound
{
public AudioClip Clip;
[Range(0, 1)] public float Volume = 1;
[Range(0, 256)] public int Priority = 128;
[Range(-3, 3)] public float Pitch = 1;
[Range(0, 1)] public float Zone = 1;
public bool PlayOnAwake;
public bool Loop;
}