Unity AssetBundle 实践记录

第一种情况:

打包一个界面的Prefab,界面包含了一张大图和四个按钮图片,图片没有打成图集
仅对界面设置AssetLabel
打包结果

image.png

运行时 state

Unity AssetBundle 实践记录_第1张图片
image.png

第二种情况:

打包一个界面的Prefab,界面包含了一张大图和四个按钮图片,图片没有打成图集
对界面和所有用到的图片设置AssetLabel
打包结果

image.png

运行时 state

Unity AssetBundle 实践记录_第2张图片
image.png

第三种情况:

打包一个界面的Prefab,界面包含了一张大图和四个按钮图片,图片打成图集
仅对界面设置AssetLabel
打包结果


image.png

运行时state

Unity AssetBundle 实践记录_第3张图片
image.png

第四种情况:

打包一个界面的Prefab,界面包含了一张大图和四个按钮图片,图片打成图集
对界面和所有用到的图片设置AssetLabel
打包结果


image.png

运行时state

Unity AssetBundle 实践记录_第4张图片
image.png

第五种情况:

打包一个界面的Prefab,界面只包含一个按钮图片,所有图片打成图集
仅对界面设置AssetLabel
打包结果

image.png

运行时state

Unity AssetBundle 实践记录_第5张图片
image.png

第六种情况:

打包一个界面的Prefab,界面只包含一个按钮图片,按钮不打成图集
仅对界面设置AssetLabel
打包结果

image.png

运行时state

Unity AssetBundle 实践记录_第6张图片
image.png

综上所述,未完待续

你可能感兴趣的:(Unity AssetBundle 实践记录)