Comments (5)
对的,使用你自己的加载助手,实现接口IResourceHelper,如果想省事,可以直接从DefaultResourceHelper拷贝来所有代码,修改其中的加载AB包方式即可
from htframework.
原来LoadFromFileAsync提供了加载进度的参数,sorry
from htframework.
@SaiTingHu 好的,我已经改成了自定义的ResourceHelper,修改了LoadAssetBundleAsync的UnityWebRequestAssetBundle.GetAssetBundle
方法
但isManifest
这个参数就用不到了,不会有什么影响吧
from htframework.
isManifest表示是否是加载清单文件,如果不是(则为正式AB包),会使用hash值校验,这个应是UnityWebRequestAssetBundle特有的机制,你直接从文件Load包,应该是不需要这个校验过程了
from htframework.
好的,感谢
from htframework.
Related Issues (20)
- 你好,我想问下资源加载模块那边,为啥没做引用计数的功能? HOT 1
- 这跟Ellan的Gameframework有什么区别... HOT 1
- AsseterMaster模块在资源多的情况下会卡死 HOT 1
- 我在打ab包的时候勾选AppendHash,但是UI加载失败,因为ab包名加了hash值 HOT 3
- 新建了一个MyDefaultResourceHelper,无法切换回DefaultResourceHelper了 HOT 2
- UI Entity 会重复创建 HOT 1
- DefaultResourceHelper 能否将单线加载 改为并行资源加载 HOT 7
- ProtocolChannelBase HOT 5
- UI管理器,数据驱动功能绑定TMP的组件,未同步数据的问题 HOT 4
- 整合资源打包支持 HOT 1
- gamecomponent超链接失效 HOT 1
- 是否可以将UI元素注入UIRegion? HOT 3
- 是否会支持 Addressables 或者 yooasset HOT 2
- Builder.cs 85-88有点问题 HOT 3
- Are we support iOS platform yet? HOT 4
- 缺少命名空间 HOT 2
- 加载AssetBundle好像有问题 HOT 2
- LoadSceneAsync add an AsyncOperation callback HOT 1
- 双向绑定未来是否支持TextMeshPro? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htframework.