15 lines
337 B
C#
15 lines
337 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;
|
||
|
public bool PlayOnAwake;
|
||
|
public bool Loop;
|
||
|
}
|