17 lines
425 B
C#
17 lines
425 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;
|
|
[Range(0, 1)] public float MuteVolume = 0;
|
|
}
|