资源简介
工具为Unity中assetBundle打包工具,简单灵活,使用与新手操作
代码片段和文件信息
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.IMGUI.Controls;
namespace UnityEngine.AssetBundles
{
public class AssetBundleBrowserMain : EditorWindow IHasCustomMenu ISerializationCallbackReceiver
{
public const float kButtonWidth = 150;
enum Mode
{
Browser
Builder
Inspect
}
[SerializeField]
Mode m_Mode;
[SerializeField]
int m_DataSourceIndex;
[SerializeField]
public AssetBundleManageTab m_ManageTab;
[SerializeField]
public AssetBundleBuildTab m_BuildTab;
[SerializeField]
public AssetBundleInspectTab m_InspectTab;
private Texture2D m_RefreshTexture;
const float k_ToolbarPadding = 15;
const float k_MenubarPadding = 32;
[MenuItem(“Window/AssetBundle Browser“ priority = 2050)]
static void ShowWindow()
{
var window = GetWindow();
window.titleContent = new GUIContent(“AssetBundles“);
window.Show();
}
[SerializeField]
public bool multiDataSource = false;
List m_DataSourceList = null;
public virtual void AddItemsToMenu(GenericMenu menu)
{
menu.AddItem(new GUIContent(“Custom Sources“) multiDataSource FlipDataSource);
}
public void FlipDataSource()
{
multiDataSource = !multiDataSource;
}
private void OnEnable()
{
Rect subPos = GetSubWindowArea();
if(m_ManageTab == null)
m_ManageTab = new AssetBundleManageTab();
m_ManageTab.OnEnable(subPos this);
if(m_BuildTab == null)
m_BuildTab = new AssetBundleBuildTab();
m_BuildTab.OnEnable(subPos this);
if (m_InspectTab == null)
m_InspectTab = new AssetBundleInspectTab();
m_InspectTab.OnEnable(subPos this);
m_RefreshTexture = EditorGUIUtility.FindTexture(“Refresh“);
InitDataSources();
}
private void InitDataSources()
{
//determine if we are “multi source“ or not...
multiDataSource = false;
m_DataSourceList = new List();
foreach (var info in AssetBundleDataSource.ABDataSourceProviderUtility.CustomABDataSourceTypes)
{
m_DataSourceList.AddRange(info.GetMethod(“CreateDataSources“).Invoke(null null) as List);
}
if (m_DataSourceList.Count > 1)
{
multiDataSource = true;
if (m_DataSourceIndex >= m_DataSourceList.Count)
m_DataSourceIndex = 0;
AssetBundleModel.Model.DataSource = m_DataSourceList[m_DataSourceIndex];
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 64 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\.gitignore
....... 1075 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\LICENSE
....... 10666 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\MANUAL.md
....... 1629 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\README.md
....... 8073 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetBundleBrowserMain.cs
....... 18682 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetBundleBuildTab.cs
....... 1045 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetBundleDataSource\ABDataSource.cs
....... 1267 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetBundleDataSource\ABDataSourceProvider.cs
....... 2563 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetBundleDataSource\AssetDataba
....... 10103 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetBundleManageTab.cs
....... 30089 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetBundleModel\ABModel.cs
....... 8889 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetBundleModel\ABModelAssetInfo.cs
....... 33472 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetBundleModel\ABModelBundleInfo.cs
....... 26203 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetBundleTree.cs
....... 16407 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\AssetListTree.cs
....... 5729 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\BundleDetailList.cs
....... 1499 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\Icons\ABundleBrowserIconY1756Basic.png
....... 1617 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\Icons\ABundleBrowserIconY1756Scene.png
....... 10931 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\InspectTab\AssetBundleInspectTab.cs
....... 1813 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\InspectTab\AssetBundleRecord.cs
....... 2356 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\InspectTab\InspectSingleBundle.cs
....... 1739 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\InspectTab\InspectTreeView.cs
....... 4241 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\MessageList.cs
....... 7717 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\AssetBundleBrowser\MessageSystem.cs
....... 30839 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\Tests\ABModelTests.cs
....... 741 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\Tests\AssetBundleRecordTests.cs
....... 1734 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\Tests\Util\ABModelUtil.cs
....... 2085 2017-09-19 22:54 MyPlugins\AssetBundles-Browser-master\AssetBundles-Browser-master\UnityEngine.AssetBundles\Editor\Tests\Util\TestUtil.cs
文件 63105 2017-11-25 14:40 MyPlugins\AssetBundles-Browser-master.zip
文件 5525619 2017-11-25 14:41 MyPlugins\Bundle Manager.unitypackage
............此处省略15个文件信息
- 上一篇:ME3630-W模块AT指令集_v2.8
- 下一篇:图像特征点提取与匹配
相关资源
- UNITY代码大全
- Cisco Unity 自动话务员配置说明
- Destructible 2D 2.1.1.unitypackage
- Graph Maker 1.5.8
- unity见缝插针游戏
- 棍子英雄Unity3D源码
- GraphMaker
- Unity从UI拖物体到场景中以及鼠标拖动
- 直升机模型unity3d
- Unity SpringGUI 工具
- QR CodeBarcode Scanner and Generator--Cross Pl
- Unity3dObfuscatorSetup.rar
- UnityStudio.rar
- 打地鼠游戏资源以及源代码
- Unity可用的角色模型
- UGUI ScrollRect滚动优化:无限循环利用
- 将图集变成小图片导出
- unity答题系统-可直接使用
- 汽车发动机unity模型包
- Unity 3D NGUI实战教程(80M完整版)
- Final IK 当前最新版
- 科幻UI资源包.zip
- unity科技Ui
- SIKI学院捕鱼达人可执行程序、发布的
- unity 天空盒6图拼接版
- Rewired.zip
- Mqtt for Unity 完整工程包
- Unity3D 10个漂亮的天空盒子
- Unity3D实现的角色攻击、移动待机死亡
- 基于Unity3d局域网下可联机运行的坦克
评论
共有 条评论