1.Unity PlayerSetting Minium APK

Android下Unity设置最小包
这里的APK包只包含了ARMv7版本
Strip Assemblies : 通过分析脚本的字节码,来将这些脚本没有引用的类和方法从Dll中删除,从而使其不进入AOT编译阶段。这种优化减少了主要的二进制以及相应Dll的大小。在不使用反射的条件下,这种优化是安全的。
**引用 : **http://blog.csdn.net/amazonzx/article/details/7437650
2.Google VR 设置
Player Settings
Inside the Unity Project use the toolbar to go to Go to:
Edit -> Project Settings -> Player
Inside Resolution and Presentation select the following settings:
- Default Orientation: Landscape Left.
-
Use 32-bit Display Buffer: Disabled.
Resolution and Presentation设置
Inside Other Settings are the following:
- Rendering Path: Legacy Vertex Lit.
- Multithreaded Rendering: Enabled.
- Static Batching: Enabled.
-
Dynamic Batching: Enabled.
Other Setting设置
Quality Settings
Inside the Unity Project use the toolbar to go to Go to:
Edit -> Project Settings -> Quality
- Anti Aliasing: 2x Multi Sampling.
- Soft Particles: Disabled.
- Realtime Reflection Probes: Disabled.
-
Shadows: Disable Shadows.
Quality设置
**引用 : **https://github.com/googlevr/gvr-unity-sdk/tree/master/Samples/CastleDefense
播放视频:http://www.w3school.com.cn/i/movie.ogg
3.Android生成报错问题FIX
-
Unity下Android ARMv7和X86 so重名报错
需要设置so的环境
-
Perforce上传数据后,拉取信息数据出错
需要打开Edit/Project Settings/Editor中的Visible Meta Files
Editor Settings
4.根据CardboardDesignLabs的工程更新几处工程设置



网友评论