当前位置:网站首页>Unity makes AB package
Unity makes AB package
2022-07-06 20:13:00 【LiPing122335】
(1) Create what we need asset bundle The name of the resource package , Click any resource , new One asset bundle Name ;
(2) Will you break into asset bundle Resources in the resource bag , Specify the name we just created ;
(3) Expand our editor , Call the editor API function , Come and take us asset bundle Pack it ;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
public class TextAB : MonoBehaviour {
[MenuItem("ChaJian/AB")]
public static void Get()
{
string path = Application.streamingAssetsPath;
//
if (!Directory.Exists (path))
{
Directory.CreateDirectory(path);// Create folder
}
BuildPipeline.BuildAssetBundles(path, BuildAssetBundleOptions.None, BuildTarget.StandaloneWindows64);
}
}
// Script Asset Of Editor
边栏推荐
- 爬虫(14) - Scrapy-Redis分布式爬虫(1) | 详解
- Alibaba data source Druid visual monitoring configuration
- Appx code signing Guide
- A5000 vGPU显示模式切换
- Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
- 8086指令码汇总表(表格)
- 爬虫(14) - Scrapy-Redis分布式爬虫(1) | 详解
- 信息系统项目管理师---第八章 项目质量管理
- HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
- Information System Project Manager - Chapter VIII project quality management
猜你喜欢
![[network planning] Chapter 3 data link layer (4) LAN, Ethernet, WLAN, VLAN](/img/b8/3d48e185bb6eafcdd49889f0a90657.png)
[network planning] Chapter 3 data link layer (4) LAN, Ethernet, WLAN, VLAN

HMS Core 机器学习服务打造同传翻译新“声”态,AI让国际交流更顺畅

Example of applying fonts to flutter

2022年6月语音合成(TTS)和语音识别(ASR)论文月报

HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
![[cloud native and 5g] micro services support 5g core network](/img/c9/4ccacd1e70285c2ceb50c324e5018c.png)
[cloud native and 5g] micro services support 5g core network

某东短信登录复活 安装部署教程

Deep learning classification network -- zfnet

持续测试(CT)实战经验分享

22-07-05 upload of qiniu cloud storage pictures and user avatars
随机推荐
使用ssh连接被拒
Wechat applet common collection
(3) Web security | penetration testing | basic knowledge of network security construction, IIS website construction, EXE backdoor generation tool quasar, basic use of
腾讯字节等大厂面试真题汇总,网易架构师深入讲解Android开发
leetcode先刷_Maximum Subarray
Oceanbase Community Edition OBD mode deployment mode stand-alone installation
Microservice architecture debate between radical technologists vs Project conservatives
Example of applying fonts to flutter
棋盘左上角到右下角方案数(2)
String length limit?
系统与应用监控的思路和方法
技术分享 | 抓包分析 TCP 协议
mod_wsgi + pymssql通路SQL Server座
持续测试(CT)实战经验分享
[cloud lesson] EI lesson 47 Mrs offline data analysis - processing OBS data through Flink
New generation garbage collector ZGC
[Yann Lecun likes the red stone neural network made by minecraft]
信息系统项目管理师---第八章 项目质量管理
Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
POJ1149 PIGS 【最大流量】