AssetBundle
2015-03-12 17:50:49 10 举报
Unity Assetbundle
作者其他创作
大纲/内容
General Process
Dependency Config
key(string):self asset bundle namevalue(string):names of the asset bundles which are depended on
Select Assets
New Ver != Cur Ver
BundleDependencyConfig
Scene
Lua Script
false
Usage Managment
BundleName
Size
BundleAltas
12Mb
...
URl = 服务器:端口\\平台\\运行平台\\版本号
Build Process
PlatformPP
Animation
Level Config
BundlePrefab
Download New AssetBundles From Server
DependencyBundleName
BundleAtlas
Atlas
Load Asset From Bundle
1.3.3
ABBundleNode
+ NodeID+ ABBundleList+ BuildDeepthLv+ IsRootNode- InConnectionList- OutConnectionList
+ AddConnectToNode+ RemoveConnectToNode
Update AsssetBundle Config
Find Corresponding AssetBundle Name
iPhone
通过对比MD5更新AssetBundle
Android
Asset Dependency Hierarchy
NewAssetBundleUrlListVersionNumber
Platform
Version
1.3.4
Build Side
Database
Server
Get Version Infor
AssetBundle
+ RefereceCount+ UnloadTimeCount
Current Version.txt(1.3.3)
End
Separate Texture
BundleContentConfig
1.1.3
Get New AssetBundle Infor
Upload Process
Updated AssetBundle NameList
true
Upload New AssetBundle To Server
ABBuildPlan
+ ABBundleNodeList
+ AddNode+ RemoveNode+ RunBuildPlan+ UpdateConfigExcel+ OutputModifiedABList
Dependent Assets
Update new AssetBundle Name List
Bundle Dependency Config
BundleContent Config
PlatformiTools
Is Bundle Loaded
怎样处理AssetBundle之间的依赖关系
Load From Local Asset
Sound
Download Process
Effect
Create Directory
Request Version Number
Build Plan
Is Asset Loaded
Content Config
key(string):asset namevalue(string):corresponding asset bundle name
AssetBundle Config
VersionInfor
Request an Asset by Name
AssetBundleManagment
+ LoadedAssetBundleDict
+ Load(RequestedAssetName)+ UnLoad(RequestedAssetName)
ABBundle
+ AssetList
+ AddNewContent+ RemoveContent+ UpdateAssetList
AssetBundleInfor.txt
Request New AssetBundle Infor
ABBundleContent
+ AssetRefrence+ AssetPath+ IsFolder+ State+ MD5
+ RefreshAssetState
Font
Independent Assets
Resource Managment
+ Load(RequestedAssetName)
是否需要释放或使用堆栈,永远优先删除栈低的
Prafab
NewAssetBundleInfor
BundleDependencyTable
Usage Process
Return Request Asset
Build AssetBundle(Encryption,Compression)
Build Managment
Download Managment
Client Side
AssetDatabase 中获取依赖关系
Update Cur Version
Shader
Prefab1
Prefab2
Load the AssetBundle(include dependent bundles)(Decryption)
BundlePrefabTable
BundleAltasTable
Add New Asset
0 条评论
下一页