码迷,mamicode.com
首页 > 其他好文 > 详细

Reducing File Size

时间:2014-10-20 23:15:51      阅读:247      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   io   os   ar   for   strong   

Reducing File Size

1、Unity strips out unused assets。

  The amount of assets in your project folder does not influence the size of your built player. Unity is very smart about detecting which assets are used in your game and which are not. Unity follows all references to assets before building a game and generates a list of assets that need to be included in the game. Thus you can safely keep unused assets in your project folder.

2、Optimizing mesh and animation size。

  Meshes and imported Animation Clips can be compressed so they take up less space in your game file. Compression can be turned on in Mesh Import Settings.

   bubuko.com,布布扣  bubuko.com,布布扣

  Mesh压缩会使数据的准确性降低。Note that mesh compression only produces smaller data files, and does not use less memory at run time. Animation Keyframe reduction produces smaller data files and uses less memory at run time, and generally you should always use keyframe reduction.

3、Unity prints an overview of the used file size

  After Unity has completed building a player, it prints an overview of what type of asset took up the most file size, and it prints which assets were included in the build. To see it just open the editor console log: Open Editor Log button in the Console window (Window -> Console).

  当Unity构建完一个版本,会打印出各种资源的的硬盘花费,以有打印出哪些内容在硬盘中。在Unity中的Console下右键,选择Open Editor Log即可。

  bubuko.com,布布扣

参考:file://localhost/Applications/Unity/Unity.app/Contents/Documentation/html/en/Manual/ReducingFilesize.html

Reducing File Size

标签:style   blog   http   color   io   os   ar   for   strong   

原文地址:http://www.cnblogs.com/tekkaman/p/4038834.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!