Quick question:
I have a SoundEffect instance, and I would like to know if it is playing at the moment or not. But there's neither a method, nor a property that would allow to check it...
So, is there a way to know it?
|
Quick question: I have a So, is there a way to know it? |
|||
|
|
|
Found the answer myself :) Apparently you have to do this:
And that state will contain... well, the state of the sound. Also SoundEffectInstance countains bunch of other useful data. |
|||||
|