17 lines
231 B
C#
17 lines
231 B
C#
|
using System;
|
||
|
using UnityEngine;
|
||
|
|
||
|
[Serializable]
|
||
|
public class switchToAudio
|
||
|
{
|
||
|
public AudioSource audio;
|
||
|
|
||
|
public AudioClip changeToClip;
|
||
|
|
||
|
public bool stopAudio;
|
||
|
|
||
|
public bool changeAudioVolume;
|
||
|
|
||
|
public float audioVolume = 1f;
|
||
|
}
|