Using volume buttons on Android in Unity3d

后端 未结 4 371
深忆病人
深忆病人 2021-01-25 21:28

I am attempting to use the volume buttons in a unity3d game on Android. Unfortunately I can\'t see anything pertaining to volume being mapped as a KeyCode, so it seems to me tha

4条回答
  •  滥情空心
    2021-01-25 21:46

    I'm guessing you're inquiring about volume buttons because your app got rejected by Samsung? Specifically, your app submission to Samsung will fail due to lack of support for Samsung Camera volume buttons and Samsung Homesync. The easiest workaround is to simply deselect support for these two items when submitting your game. If you switch to Advanced Mode in the Samsung Dashboard, you can select/deselect each device that you do/don't support. Just deselect all of the Samsung Camera entries and deselect Samsung Homesync when submitting your app.

提交回复
热议问题