一、准备场景和预设和AB包资源
①新建一个Cube然后创建一个材质球,然后将其做成预设,如下所示:
②编写打包预设为AB包的脚本(注意:该脚本需要放置在Editor这个特定的目录文件夹下)/***
*Title:"三维可视化" 项目
*主题:打AB包
*Description:
*功能:XXX
*Date:2019
*Version:0.1版本
*Author:Coffee
*Modify Recoder:
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace SimpleUIFrame
{
public class BuildAssetBundle
{
<