Android Accelerometer Issue

前端 未结 2 1985
野性不改
野性不改 2021-01-24 04:35

My game uses the accelerometer, everything works fine but I noticed there is going to be a slight issue with some phones. The game forces the orientation to be landscape however

2条回答
  •  抹茶落季
    2021-01-24 04:53

    Here a solution provided by NVidia to deal nicely with the device default orientation: https://stackoverflow.com/a/14313663/1489493

提交回复
热议问题