资源简介
Unity3D小DEMO源码
可直接运行。做毕业设计、课程设计或者想研究下技术的可以下载学习。需要更多资源的可以关注我。

代码片段和文件信息
using UnityEditor;
using UnityEngine;
namespace klock.snippetz
{
/** Class to creates a compressed file that contains a collection of assets*/
public class AssetExport
{
/** Builds an asset bundle from the selected objects in the project view. Track dependencies.*/
[MenuItem(“Assets/Build AssetBundle - Track dependencies“)]
public static void ExportAsset()
{
string path = EditorUtility.SaveFilePanel(“Save object as“ ““ “object_“ “*.unity3d; *.fbx;“);
if (path.Length != 0)
{
object[] selection = Selection.GetFiltered(typeof(object) SelectionMode.DeepAssets);
BuildPipeline.BuildAssetBundle(Selection.activeobject selection path BuildAssetBundleOptions.CollectDependencies | BuildAssetBundleOptions.CompleteAssets);
Selection.objects = selection;
}
}
/** Builds an asset bundle from the selected objects in the project view. No dependency tracking. */
[MenuItem(“Assets/Build AssetBundle - No dependency tracking“)]
public static void ExportResourceNoTrack()
{
// Bring up save panel
string path = EditorUtility.SaveFilePanel(“Save Resource“ ““ “New Resource“ “*.unity3d; *.fbx;“);
if (path.Length != 0)
{
// Build the resource file from the active selection.
BuildPipeline.BuildAssetBundle(Selection.activeobject Selection.objects path);
}
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-08-21 16:44 Unity3D-master\
目录 0 2013-08-21 16:44 Unity3D-master\Asset Export V.1\
文件 1585 2013-08-21 16:44 Unity3D-master\Asset Export V.1\AssetExport.cs
目录 0 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\
目录 0 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\FONTS\
文件 21336 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\FONTS\DnK.ttf
目录 0 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\ob
文件 8132 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\ob
文件 9704 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\ob
文件 393 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\README.md
目录 0 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\SCENES\
文件 19336 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\SCENES\SETUP.V.0.3a.unity
目录 0 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\sc
文件 2554 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\sc
文件 254 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\sc
目录 0 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\sc
文件 121 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\sc
文件 10993 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\sc
文件 1360 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\sc
文件 3353 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\sc
文件 2618 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\sc
目录 0 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\TEXTURE\
文件 16913 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\TEXTURE\Arrow Disable.png
文件 17397 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\TEXTURE\Arrow Normal.png
文件 17229 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\TEXTURE\Arrow Over.png
文件 2895764 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\TEXTURE\Dolar Normal.tif
文件 46228 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\TEXTURE\Dollar Disable.png
文件 50023 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\TEXTURE\Dollar Normal.png
文件 811664 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\TEXTURE\Dollar Normal.tif
文件 49968 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\TEXTURE\Dollar Over.png
文件 20807 2013-08-21 16:44 Unity3D-master\DefenderV.0.3\TEXTURE\DollarBoard.png
............此处省略235个文件信息
- 上一篇:Qt插件开发源码
- 下一篇:毕业设计管理系统(毕业设计)
相关资源
- Borland Socket Server程序 包含D6和D7源码
-
fli
nk核心源码(追源索骥:透过源码 - Scratch源码
- E4A无障碍跨程序操作类库(带源码、
- 设备管理系统源码
- 安卓wifi直连app源码
- 我的世界源码(易语言版)
- labview编程软件滤波器以及编写程序设
- 我的界面(visual foxpro)源码
- 易语言:一键cf基址源码
- The Secret Path 3D 3D魔方迷宫[源码][scra
- scratch垃圾分类源码(最终版本).sb
- 安卓QQ6.71协议源码易语言,qq协议源码
- 编译原理实验工具及参考源码(lex&
- E盾偷后台工具源码
- UNIX/LINUX编程实践教程的源码
- 十以内加减法练习 powerbuilder源码
- 农场开发项目
- OCR源码
- PLC上位机编程软件
- 基于web的毕业设计开题报告
- 用foobar2000听google音乐[更新一下]
- 学生信息管理系统源码
- 用VC 编写的仿QQ聊天室程序源代码
- 毕业论文之温度传感器DS18B20(源码
- 可自定义导航网站源码
- 栅栏填充算法源码(VC)
- msp430F149操作红外接收模块源码
- 20篇关于计算机的毕业设计外文翻译
- [免费]图像识别c 源码
评论
共有 条评论