Cocos Creator 3.8.x bundle设置最佳方案

news/2025/4/19 3:40:03/文章来源:https://www.cnblogs.com/wujinhong/p/18341407
A:

项目开始场景(Start Scene)加载显示最快的Bundle设置方案:不要使用resources文件夹,除了项目开始场景(Start Scene)所在文件夹,将所有文件分类设置成Bundle;

B:

A方案较为麻烦,项目文件夹多时,需要设置太多Bundle。省事些的方案:可将框架基础代码放入resources文件夹,保证项目开始场景(Start Scene)不使用resources文件夹中的代码。项目开始场景(Start Scene)加载显示前,比A方案多加载了resources的代码而已,一般几十KB。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/777551.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Cocos Creator 3.8.x bundle注意知识点

Cocos Creator 3.8.x bundle注意知识点,需掌握bundle核心知识点才能理解。 bundle核心知识点 : https://www.cnblogs.com/wujinhong/p/18341405 注意知识点(引擎3.8.3实际运行测试过): 1、默认4个Bundle build web包时,只存在3个,start-scene设置打包不会存在,打包微信小…

Cocos Creator 3.8.x bundle核心知识点

bundle官网知识文档: https://docs.cocos.com/creator/3.8/manual/zh/asset/bundle.html bundle核心知识点如下:

python-sum()返回所有元素的总和

lb=[10,30,5,40,89,100] i=sum(lb) #返回所有元素的总和 #参数:序列 print(i)

python-max()返回最大值

lb=[10,30,5,40,89,100] i=max(lb) #返回最大值 #参数:序列 print(i)

python-min返回最小值

lb=[10,30,5,40,89,100] i=min(lb) #返回最小值 #参数:序列 print(i)

LeetCode 2043. Simple Bank System

原题链接在这里:https://leetcode.com/problems/simple-bank-system/description/ 题目: You have been tasked with writing a program for a popular bank that will automate all its incoming transactions (transfer, deposit, and withdraw). The bank has n accounts …

windows 隐藏桌面了解此图片

1. 桌面上有了解此图片图标无法删除这是因为在windows背景设置中选择了Window聚焦。如果想关闭可以选择其他选项。如果不想关闭Window聚焦还想隐藏桌面了解此图片图标,可以参考下面设置。 2. 打开注册表 win + x打开运行,输入regedit 回车。 3. 新建或修改注册表 在注册表的地…

LeetCode 1554. Strings Differ by One Character

原题链接在这里:https://leetcode.com/problems/strings-differ-by-one-character/description/ 题目: Given a list of strings dict where all the strings are of the same length. Return true if there are 2 strings that only differ by 1 character in the same inde…