- Home /
Unity iOS-How to slowly fade out audio after Home button is pressed
Hello, I was wondering how highly polished games like Cut The Rope, Bad Piggies (made in Unity) fade the music when the home button is pressed on mobile devices. Is there a way to suspend/exit game smoothly? (Fade out music when home button is pressed)
Thank You.
For the "how to do a thing when they quit," try http://answers.unity3d.com/questions/167984/call-a-function-when-app-exits.html
Searching on "unity exit iOS" gives lots of similar discussion about quit/suspend on iOS.
Your answer
![](https://koobas.hobune.stream/wayback/20220613150752im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do I make the screen fade when it goes into the next level? 0 Answers
Fade out effect isn't working if loaded at the second time. 2 Answers
How would you create a transition between different maps or rooms like in Luigi's Mansion? 0 Answers
Publishing iOs app with Unity running in VirtualBox? 1 Answer
Free memory used by unity in iOS 1 Answer