Hey friends!
I want to play a move that has sound. I have a
Play movie clip action, and I check
Include audio? and set an
Audio source. When I run my game however, the
Audio source is immediately set to
None., despite the actual
Audio Source not being removed. As such, the audio will fail to play. However, if I wait until the game starts, then reassign the
Audio source, the audio plays fine.
Any idea why starting the game clears the
Audio source field? I read
ActionMovie.cs, and nothing there suggests this behavior to me, and there are no references to
ActionMovie#sound in any other files, so it's not clear what code is actually clearing the field. Any ideas? (even just knowing the right place to step through code is probably sufficient)
Thanks yall!
Comments