小编mai*_*ine的帖子

Unity iOS 构建尺寸巨大但纹理较小

我第一次构建一个统一 游戏。当我为iOS构建时,我得到的完整构建大小大于700mb,但在我的构建报告中它说用户只有 71mb。那么剩下的部分是从哪里来的呢?assets

我知道这有点模糊,但我真的很困惑。与其说是在寻找答案,不如说是在寻找我的研究方向。其他相关信息:

  • 我的游戏是2D的

  • 它由8 个级别组成,每个级别都有一个简单的拖放拼图(适合儿童)。

  • 没有复杂animationsscripts

  • 没有安装任何软件包

构建报告如下:

Build Report
Uncompressed usage by category (Percentages based on user generated assets only):
Textures               44.7 mb   62.9% 
Meshes                 0.0 kb    0.0% 
Animations             183.1 kb  0.3% 
Sounds                 10.7 mb   15.0% 
Shaders                183.8 kb  0.3% 
Other Assets           289.2 kb  0.4% 
Levels                 10.7 mb   15.1% 
Scripts                524.2 kb  0.7% 
Included DLLs          3.8 mb    5.3% 
File headers …
Run Code Online (Sandbox Code Playgroud)

xcode unity-game-engine ios 2d-games

5
推荐指数
1
解决办法
655
查看次数

JQuery UI可排序元素和输入字段在Firefox中不起作用

更新,因为我找到了我发布的解决方案作为我自己的问题的答案:需要删除disableSelection()方法.这里的原帖可供参考,以防有人遇到同样的问题:

:::::::::::::::::::

我正在使用JQuery UI Sortable方法,我发现了Firefox输入字段的一个奇怪的错误.出于某种原因,添加到可排序元素的输入字段在Firefox中无法单击.除非右键单击它们,否则无法关注它们.Chrome中不存在此问题.

请参阅JS Fiddle,请注意,如果您在Firefox中查看它,这只是一个问题.为了记录我在Firefox 33上,我也在Firefox 32上重现了这个:

http://jsfiddle.net/t1795601/

这是小提琴的代码.它几乎完全匹配JQuery UI用于演示的内容,但添加的输入字段除外,用于演示此问题:

图书馆:

 <link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
Run Code Online (Sandbox Code Playgroud)

我的HTML:

<h4>An input outside of the sortable boxes works:</h4>
<input type="text" placeholder="this input works"/>
<br/>

<h4>But if you try to add an input field inside one of the sortable boxes, you cannot click it in Firefox.</h4>
<h6>Note that the markup for the sortable boxes is copied directly from jquery.com as is the corresponding CSS …
Run Code Online (Sandbox Code Playgroud)

firefox jquery drag-and-drop jquery-ui jquery-ui-sortable

3
推荐指数
2
解决办法
3047
查看次数