Author Topic: Extending NGUITools  (Read 2416 times)

jmoffat

  • Guest
Extending NGUITools
« on: July 09, 2013, 02:14:44 PM »
Hey,  I want to extend NGUITools.PlaySound() so I can mute my ngui sounds and still have music/voice overs etc.  Is it possible to do this without editing NGUITools class?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Extending NGUITools
« Reply #1 on: July 09, 2013, 10:30:27 PM »
NGUITools.PlaySound is for UI sounds. I don't recommend using it for voice overs. Create your own audio source for that.