当前位置:网站首页>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
边栏推荐
- 信息系统项目管理师---第八章 项目质量管理
- PowerPivot——DAX(初识)
- HDU 1026 Ignatius and the Princess I 迷宫范围内的搜索剪枝问题
- 【GET-4】
- Anaconda安裝後Jupyter launch 沒反應&網頁打開運行沒執行
- SSH connection denied
- Special topic of rotor position estimation of permanent magnet synchronous motor -- Summary of position estimation of fundamental wave model
- 5. 無線體內納米網:十大“可行嗎?”問題
- 腾讯字节等大厂面试真题汇总,网易架构师深入讲解Android开发
- Initial experience of addresssanitizer Technology
猜你喜欢

Social recruitment interview experience, 2022 latest Android high-frequency selected interview questions sharing

OceanBase社区版之OBD方式部署方式单机安装

新一代垃圾回收器—ZGC

学习打卡web

02 基础入门-数据包拓展

Special topic of rotor position estimation of permanent magnet synchronous motor -- fundamental wave model and rotor position angle

(3) Web security | penetration testing | basic knowledge of network security construction, IIS website construction, EXE backdoor generation tool quasar, basic use of

【计网】第三章 数据链路层(3)信道划分介质访问控制

Cesium Click to draw a circle (dynamically draw a circle)

A5000 vgpu display mode switching
随机推荐
PHP与EXCEL PHPExcel
腾讯字节等大厂面试真题汇总,网易架构师深入讲解Android开发
数字三角形模型 AcWing 1018. 最低通行费
Color is converted to tristimulus value (r/g/b) (dry stock)
腾讯T3大牛手把手教你,大厂内部资料
微信小程序常用集合
Redisson bug analysis
Synchronization of data create trigger synchronization table for each site
Tencent byte Alibaba Xiaomi jd.com offer got a soft hand, and the teacher said it was great
5. 无线体内纳米网:十大“可行吗?”问题
Cesium 点击绘制圆形(动态绘制圆形)
2022年6月语音合成(TTS)和语音识别(ASR)论文月报
Vscode debug run fluent message: there is no extension for debugging yaml. Should we find yaml extensions in the market?
永磁同步电机转子位置估算专题 —— 基波模型类位置估算概要
22-07-05 upload of qiniu cloud storage pictures and user avatars
POJ 3207 Ikki's Story IV – Panda's Trick (2-SAT)
Special topic of rotor position estimation of permanent magnet synchronous motor -- fundamental wave model and rotor position angle
RT thread I2C tutorial
Special topic of rotor position estimation of permanent magnet synchronous motor -- Summary of position estimation of fundamental wave model
Tencent T3 Daniel will teach you hand-in-hand, the internal information of the factory