当前位置:网站首页>AssetBundle packaging based on unitygameframework framework
AssetBundle packaging based on unitygameframework framework
2022-04-22 05:23:00 【Vegetable code farmer lemon brother】
1. stay Unity in , Open... In the menu bar GameFramework Of ResourceTool, Among them, individuals often use the following :

(1)ResourceEditor: Used to package the game as AB Fill in the material of the package . Select the resources to be filled in on the right and click the double arrow below to fill them into the corresponding package file . Click... In the lower right corner after all regularization is completed Save Preservation ( A certain !).Clear You can empty the packing list .

(2)ResourceAnalyzer: Resource analysis , Used to analyze resource conflicts and resource dependencies .
【1】 After entering the interface, conduct resource analysis first (Summary Medium Analyze) Can analyze in non compiled mode ( It will be mentioned later ) Strange resource conflicts at runtime ( At present, there are scripts to mount other preforms ) Resulting in resource loss or conflict , If there is any conflict, there will be .

【2】Asset Dependency Viewer: After analyzing the resources , You can view all resources in this interface , Click a resource on the left , You can view the dependent resources of this resource on the right .

【3】Scattered Asset Viewer: Contrary to the above , You can view the dependent objects of this resource .

(3)ResourceBuilder: Resource construction , Package resources as AssetBundle, In this interface , First choose PlatForm( Name of the platform to be run ), stay Build Select resource version ( A version can only contain one set of AB), Then click Browse Select the AB Which folder does the package go to ,Save Save the configuration of this interface . After all configurations are completed , Click on StartBuildResource Just go ahead AB pack .

【1】 If an error occurs in the middle, resulting in packaging failure , The following warning will pop up, indicating that you failed to pack , Failure will also occupy a resource version :

At this point, we need to click the folder we set up before , stay BuildReport There will be BuildLog Reflect our packaging process , Mistakes will also appear in .

It's not hard to find out , Here it is. ResourceEditor There are empty files , Therefore, when adding resources, you need to pay attention to whether there are empty files , Otherwise it will fail .

2. After successful packaging , We need to be in Unity Build a new one called
Folder . Then we found it in the saved folder ( It's in the folder in the picture above ) choice Package, After opening, select the required resource version , Copy all the contents into the new folder .
3. In this way, our resources will be packaged , Back to GameFramework among , take Buitin The following two scripts are disabled in , You can enter non compiled mode , Simulated mobile phone resources are loaded .( In non compiled mode, materials will be lost , Don't worry about , Just add resources to Editor There's no problem after that , Pack it up APK There will be no material loss after being on the mobile phone )

版权声明
本文为[Vegetable code farmer lemon brother]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210621162582.html
边栏推荐
- How to modify the IP address of the rancher server
- 【C#】LINQ
- Access denied for user ‘root‘@‘% mysql在问题(解决)
- [redis notes] data structure and object: Dictionary
- [WPF] data template selector
- MySQL数据库第十一次
- Distributed transaction Seata
- Analysis of database log level: (2022.2.21-2022.2.27)
- Three locking methods of the bottom layer of synchronized: (3.21-3.27)
- Leetcode 1561. Maximum number of coins you can get
猜你喜欢

Strategy mode (2.28-3.6)

【Redis笔记】数据结构和对象:字典

Go array slice

Remote wake-up server

Domain name encryption is not enough: privacy leakage via IP based website fingerprinting
![[C #] remodeling matrix (staggered array)](/img/ae/7ed411e3d9bf8a9080c11a6480a7d6.png)
[C #] remodeling matrix (staggered array)

Studio3t expired activation method / and scripts that reset the use date are not available solution / Studio 3T unlimited activation
![[WPF] data template selector](/img/6c/ae815d0399a9ae93edd815539b44e1.png)
[WPF] data template selector

MySQL installation and configuration - detailed tutorial

Query result processing
随机推荐
Stack (C language)
萌新看过来 | WeDataSphere 开源社区志愿者招募
数据库(二)MySQL表的增删改查(基础)
What are the challenges of Internet of things testing, and how do software testing institutions ensure quality
Multi level cache architecture for 100 million traffic
MySQL double master and double slave + atlas data test
Mysql database for the 11th time
Neural network -- basic idea
【CANdelaStudio编辑CDD】-2.3-实现$27服务多个SecurityLevel之间的跳转(UDS诊断)
Performance
Codeforces Round #783 (Div. 2) D - Optimal Partition(dp/权值线段树 2100)
After the MySQL database runs the code, the question mark is displayed in Chinese?
Codeforces Round #781 (Div. 2) ABCD
Mengxin sees the recruitment of volunteers in the open source community of wedatasphere
Drawing scatter diagram with MATLAB
Meetup 02期回顾:Q&A 集锦
Social media and fake news in the 2016 election
Nodejs link redis
Distributed transaction Seata
idea2021. 1. When writing SQL in mapper: unable to resolve column / table