Unity Tutorial Sounds - How to control the sound by using a slider
Автор: Computing Academy
Загружено: 2020-04-25
Просмотров: 186
Unity Tutorial Sounds - How to control the sound by using a slider
Easy to follow tutorial on how to add a sound in Unity.
Easy to follow tutorial on how to control the sound in Unity by using a slider
Creating a slider to control sounds by using Unity.
Unity, Sounds, control, control sounds, control sounds in unity, adding a slider, control the sound volume, how to, unity tutorial sounds, unity tutorial sound control, adding and controlling sounds in unity
//Script to go above the Class (public class mySounds : MonoBehaviour {)//
using UnityEngine.Audio;
//Script to go below the Class (public class mySounds : MonoBehaviour {)//
public AudioMixer mymixer;
public void SetLevel (float myslidervol)
{
mymixer.SetFloat("MyMusicVol", Mathf.Log10(myslidervol) * 20);
}
///////////////////////////////////////////////////////////
https://a-webdesign.com
https://dailymanchester.com
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: