1、PlayerSettings.graphicsJobs
Description
Enable graphics jobs (multi threaded rendering).
This enables rendering code to be split and run in parallel on multiple cores on multi core machines.
启用后可将Jobs从主线程迁移到工作线程从而获得极大的渲染性能提升,注意这个还是在实验性的,慎用
2、PlayerSettings.muteOtherAudioSources
Description
Stops or allows audio from other applications to play in the background while your Unity application is running.
This setting is shared between iOS and Android platforms.
Set this to true and your Unity application stops audio from other applications in the background, set to false and audio from background applications continues to play alongside your Unity application.
Note: Starting with Android Marshmallow (6.0), setting this to false mutes the sound of your Unity application during an incoming phone call (while the phone is ringing). If you want to have this behavior on older Android versions, you have to add the READ_PHONE_STATE permission to the manifest. See the Android documentation for more information on build manifests.
是否当app进入后台后继续播放音频。
3、PlayerSettings.Device Filter
FAT(ARMv7+x86),代表支持ARM架构和x86架构的CPU,如果选择ARMv7,在当前的版本下apk包体可以减少8M。
那么问题来了,x86架构的用户到底有多少?可以看到在2016-09月的时候,x86的用户只有1.3%。对于绝大多数用户来说,
Device Filter选择ARMv7可以减少.apk包体的大小,同时又不会影响绝大多数用户的使用。
4、PlayerSettings.Prebake Collision Meshes
是否在构建时将碰撞数据加到mesh里。
5、PlayerSettings.Keep loaded shaders alive
保证已经加载的Shader不会被卸载。
6、PlayerSettings.Preloaded Assets
当app启动时被预先加载的资源数组。
7、PlayerSettings.Optimize Mesh Data
从mesh中移除掉材质不需要的数据包括tangents(切线),normals(法线),colors,和UV