16 lines
231 B
C#
16 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;
|
|
}
|