0
\$\begingroup\$

I am almost done with my game in Unity 5. However when the player presses Volume Up/Down, the iOS (version) shows the standard UI to show volume. Android has it's own (looks better on Stock).

I want to make my game consistent on either platform and different variations of Android. So I want to recreate how YouTube (for iOS) handles the change in volume.

I can't figure this out. Any help would be awesome!!!

\$\endgroup\$
0
\$\begingroup\$

Unity has no functionality to take over physical volume button, especially on iOS.

Correct me if I'm wrong.

\$\endgroup\$
4
  • \$\begingroup\$ So would I need to modify the iOS project and Android project separately to implement this feature? if so can there be a script to add it later? \$\endgroup\$ – software is fun May 19 '17 at 0:26
  • \$\begingroup\$ Yes, considering both API on both systems are different, respectively. \$\endgroup\$ – Rama Alifiandy May 19 '17 at 0:47
  • \$\begingroup\$ I don't know exactly the script required for iOS and Android respectively, since I'm used to PC projects. \$\endgroup\$ – Rama Alifiandy May 19 '17 at 0:48
  • \$\begingroup\$ Can I use Unity to not display the Volume HUD \$\endgroup\$ – software is fun May 22 '17 at 12:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.