Vibration mute?

Hey guys,

Two questions:

  1. I have vibration effect in my game when the wrong button was clicked. How do I do the iphone check to make sure ipod touch users not having problems, while iphone users have the option to turn it off?

  2. This should be a simple question, but I haven’t got it right. I am making a mute button on my menu. Now, I can turn off the background music by audio.stop and dontdestroyonload, but how do I turn off the sound effects in each level which are specifically assigned to specific scripts and gameobjects?

Thanks for helping!!

bump! Can anybody help? Thanks

  1. Check the device generation

  2. the script that assigns them should check for the mute and act accordingly

Thanks! I think I have figured out how to solve the first problem.
Now, i am working on the solution for the audio…