版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wolf96/article/details/79151570
某些代码会使Unity自动添加安卓权限
Unity automatically adds the necessary permissions to the Manifest based on the
Player Settings
and Unity APIs that your app calls from the script. For example:
- Network classes add the INTERNET permission
- Using vibration (such as Handheld.Vibrate) adds VIBRATE
- The InternetReachability property adds ACCESS_NETWORK_STATE
- Location APIs (such as LocationService) adds ACCESS_FINE_LOCATION
- WebCamTexture APIs add CAMERA permission
- The Microphone class adds RECORD_AUDIO
参考:
ACCESS_FINE_LOCATION permission can come from:
- your plugins having the permission in the manifest or calling this API.
参考: