
Addressable Asset system
lvcoc
吃到老,玩到老,原来,我已经这么老了
展开
-
Unity 大量序列帧动画导致包体过大
打包出来sharedassets0.assets居然2.7个多G解决方案移除所有动画上的sprite和RuntimeAnimatorController用AddressableAssets打包RuntimeAnimatorController然后异步加载到相应位置打包出来sharedassets0.assets只有30多MB...原创 2020-05-12 17:23:55 · 3107 阅读 · 7 评论 -
Unity AddressableAssets 加载SpriteAtlas
public AssetReferenceAtlas spriteAtlasReference;spriteAtlasReference.LoadAssetAsync<SpriteAtlas>().Completed += SpriteAtlasLoaded; private void SpriteAtlasLoaded(AsyncOperationHandl...原创 2020-04-03 10:49:41 · 2794 阅读 · 2 评论 -
Unity AddressableAssets 实例化(三)
混合标签加载using System.Collections;using System.Collections.Generic;using System.Threading.Tasks;using UnityEngine;using UnityEngine.AddressableAssets;public class SortedCreateAsset : MonoBehavio...原创 2020-03-25 16:17:56 · 611 阅读 · 0 评论 -
Unity AddressableAssets 实例化(二)
通过label和address name加载using System;using System.Collections;using System.Collections.Generic;using System.Threading.Tasks;using UnityEngine;using UnityEngine.AddressableAssets;public class C...原创 2020-03-25 16:15:53 · 592 阅读 · 0 评论 -
Unity AddressableAssets实例化和释放
最简单的和Prefab和一样通过面板实例化using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.AddressableAssets;using UnityEngine.ResourceManagement.AsyncOperations;using ...原创 2020-03-25 16:08:27 · 2185 阅读 · 0 评论 -
Unity AddressableAssets +VideoPlayer
using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.AddressableAssets;using UnityEngine.Video;public class VideoAssetManager : SingletonMonoBehaviour&l...原创 2020-03-25 15:43:31 · 937 阅读 · 6 评论 -
Unity Addressable Asset system开始
安装可寻址资产包可寻址资产系统需要Unity版本2018.3或更高版本。准备可寻址资产将资产标记为可寻址在UnitalEditor中,有两种方法可以将资产标记为可寻址:在物体的Inspecter里。 在Addressable编辑器窗口。使用Inspecter在你的工程项目窗口中,选择要查看其Inspecter的所需资产。在Inspecter中,单击可寻址复选框并输...原创 2020-02-25 11:18:28 · 1604 阅读 · 0 评论 -
Unity Addressable Asset system寻址式资源管理系统
Unity Addressable Asset system可寻址资产概述 开始 可寻址资产开发周期可寻址资产系统提供了一种通过“Address”加载资产的简单方法。它通过简化内容包的创建和部署来处理资产管理开销。可寻址资产系统使用异步加载来支持从任何具有任何依赖项集合的位置加载。无论您使用直接引用(就是挂在组件上)、传统资产包(AB包)还是资源文件夹(resources)进行...原创 2020-02-25 10:18:50 · 1071 阅读 · 0 评论