17 lines
272 B
C#
17 lines
272 B
C#
|
using UnityEngine;
|
|||
|
using UnityEngine.Audio;
|
|||
|
|
|||
|
public class AudioSound
|
|||
|
{
|
|||
|
public string name;
|
|||
|
public AudioClip clip;
|
|||
|
|
|||
|
[Range(0f, 1f)]
|
|||
|
public float volume;
|
|||
|
[Range(.1f, 3f)]
|
|||
|
public float pitch;
|
|||
|
|
|||
|
[HideInInspector]
|
|||
|
public AudioSource source;
|
|||
|
}
|