当前位置:网站首页>Unity Addressables
Unity Addressables
2022-07-29 23:44:00 【开着房车环游世界】
官方教程地址:
https://docs.unity3d.com/Packages/[email protected]/manual/AddressableAssetsGettingStarted.html
代码里需要引入
using UnityEngine.AddressableAssets;
我用的unity 2021 你会发现 在vscode里 找不到AddressableAssets
搜了下说是dll文件换位置了
把ide换成vs 然后用vs打开一次就恢复了
Unity的加载方式有几种
Resource AssetBundle Addressables
Resource 不要用 会直接打包到包里 而且启动游戏的时候会占用启动时间
AssetBundle 太麻烦
Addressables 最新的 就学他
Application.streamingAssetsPath 和Resource 目录差不多 也会打入包里
Application.persistentDataPath 唯一可以可写可读的目录 热更新就要用他 但是只有安装后才有这个目录 所以一上来是不能在这里放内容的
边栏推荐
猜你喜欢
Brute force recursion to dynamic programming 04 (digital string conversion)
go语言(函数、闭包、defer、panic/recover,递归,结构体,json序列化与反序列化)
JetsonNano learning (5) JetsonNano installs PyTorch and Torchvision
【openlayers】Map【1】
JVM初探- 内存分配、GC原理与垃圾收集器
MySQL函数(经典收藏)
窗口函数笔记
29岁从事功能测试被辞,面试2个月都找不到工作吗?
Vulkan与OpenGL对比——Vulkan的全新渲染架构
437. The total path III low low
随机推荐
[2023 School Recruitment Questions] Summary of Common Interview Questions (7. Common Bus Protocols) (Continuously updated with subsequent interviews....)
logback过期日志文件自动删除
指令集数据产品如何设计和实现报表协同系统——基于指令集物联网操作系统的工业协同制造项目开发实践
全国双非院校考研信息汇总整理 Part.2
MySQL函数(经典收藏)
In 2022, the latest Gansu construction staff (material staff) mock exam questions and answers
第一范式、第二范式、第三范式
标签分发协议(LDP)
shell编写规范和变量
Elephant Swap:借助ePLATO提供加密市场的套利空间
Brute force recursion to dynamic programming 03 (knapsack problem)
论文精读——YOLOv3: An Incremental Improvement
新标杆!美创科技助力广西桂林某三甲医院实现勒索病毒主动防御
Huawei 14 Days - (3) Kernel Development
EA&UML日拱一卒-多任务编程超入门-(7)关于mutex,你必须知道的
MySQL六脉神剑,SQL通关大总结
软件测试拿8k以上有多简单,掌握这些随随便便拿8k以上...
Vulkan与OpenGL对比——Vulkan的全新渲染架构
容器化 | 在 Rancher 中部署 MySQL 集群
深度学习的随机种子