Unity学习 2Dadventure 10

[完结]打包生成游戏

创建一个大包使用的导航场景

cs 复制代码
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AddressableAssets;

public class InitialLoad : MonoBehaviour
{
    public AssetReference persistentScene;

    void Awake()
    {
        Addressables.LoadSceneAsync(persistentScene);
    }

}

上面是unity里面的寻址工具,打包使用第三个,在打包前要先build

打包前的一些icon,分辨率设置

统一打包所有图片资源

打包完成(●'◡'●)

相关推荐
电子云与长程纠缠2 小时前
Godot学习05 - 播放与分离FBX动画
学习·游戏引擎·godot
蒸蒸yyyyzwd2 小时前
day3学习笔记
笔记·学习
red_redemption3 小时前
自由学习记录(143)
学习
楼田莉子4 小时前
MySQL数据库:MySQL的数据类型
数据库·学习·mysql
小陈phd4 小时前
系统架构师学习笔记(三)——计算机体系结构之存储系统
笔记·学习·系统架构
Rsun045515 小时前
AI智能体学习路线
人工智能·学习
charlie1145141915 小时前
通用GUI编程技术——Win32 原生编程实战(十六)——Visual Studio 资源编辑器使用指南
开发语言·c++·ide·学习·gui·visual studio·win32
知识分享小能手6 小时前
MongoDB入门学习教程,从入门到精通,MongoDB查询(4)
数据库·学习·mongodb
weixin_409383126 小时前
godot等轴视角tilemaplayer的学习 isocheric的素材xy大小怎么调
学习·游戏引擎·godot
2201_754864786 小时前
学习日记(2026年3月23日)
学习