↧
Answer by andeeee
There isn't anything like this in the Unity API, but you can probably get what you need with a plugin.
View ArticleAnswer by JDonavan 1
One solution might be to modify the Objective C shell that Unity creates and have it do the check for the iPod audio playback and write something to the player prefs.
View ArticleAnswer by lathomas64
I think a much simpler solution would be to provide the player with an option to mute your game.
View ArticleAnswer by fireDude67
Another way is that you could post an idea on feedback.unity3d.com and maybe it will get released in unity 3.1 or something
View ArticleAnswer by Dimitris 1
For this purpose I wrote this plugin and added it to my appDelegate.m (renamed to .mm and compiled as a C++ file): extern "C" { bool _IsMusicPlaying () { BOOL isPlaying = NO; MPMusicPlayerController*...
View Article