2023-10-09 16:51:27 +03:00
|
|
|
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;
|
2023-10-09 17:30:55 +03:00
|
|
|
[Range(0, 1)] public float Zone = 1;
|
2023-10-09 16:51:27 +03:00
|
|
|
public bool PlayOnAwake;
|
|
|
|
public bool Loop;
|
2023-10-31 14:38:42 +03:00
|
|
|
[Range(0, 1)] public float MuteVolume = 0;
|
2023-10-09 16:51:27 +03:00
|
|
|
}
|