Welcome,
Guest
. Please
login
or
register
.
January 24, 2025, 09:37:03 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How does NGUI.PlaySound work ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How does NGUI.PlaySound work ? (Read 3703 times)
VapapeurTeam
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 16
How does NGUI.PlaySound work ?
«
on:
February 25, 2013, 04:50:36 AM »
Hello,
NGUI scripts all seem to use NGUITools.PlaySound() to play sounds (for button clicks, etc). Are any audio sources used by NGUITools to play these sounds ? And is there a way to control the volume of all sounds played by NGUI without having to modify the NGUI base code ?
Thanks in advance.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How does NGUI.PlaySound work ?
«
Reply #1 on:
February 25, 2013, 06:51:35 AM »
NGUITools.soundVolume
NGUI creates an audio source for you.
Logged
VapapeurTeam
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 16
Re: How does NGUI.PlaySound work ?
«
Reply #2 on:
February 25, 2013, 07:35:21 AM »
Hehe ok I guess I didn't dig very deep, sorry.
I'll give that a try. I have my own sound management system (for global volume, application pause, etc), and I just need to make sure I can control NGUI's sound aswell.
Thanks.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How does NGUI.PlaySound work ?