Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
AudioListener.volume
« previous
next »
Print
Pages: [
1
]
Author
Topic: AudioListener.volume (Read 4543 times)
bochicoine
Newbie
Posts: 15
AudioListener.volume
«
on:
November 11, 2013, 10:42:43 am »
Apparently we need to update "tk2dAudioManager.cs" at line 65:
Code:
[Select]
audioSrc.PlayOneShot(clip);
to:
Code:
[Select]
audioSrc.PlayOneShot(clip, AudioListener.volume);
The reason I found this issue was I noticed that the volume of sounds on a button click (tk2dUISoundItem) were not adjusting properly with my volume slider, even though the AudioListener.volume was changing. Found the fix via this link:
http://forum.unity3d.com/threads/192150-In-Unity-4-2-the-AudioSource-PlayOneTime-is-ignoring-AudioListener-volume
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: AudioListener.volume
«
Reply #1 on:
November 11, 2013, 10:54:32 am »
Ok thanks for that I'll add it to the codebase.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
AudioListener.volume