resource.load上来一张贴图就行。 详细可参看:unity圣典 “Resources
资源”、“Resources.Load 加载”相关篇幅介绍。using UnityEngine;using System.Collections;public
class example : MonoB...
分类:
其他好文 时间:
2014-06-29 14:24:46
阅读次数:
261
2.1 Visual Studio 2005开发环境2.2 控制台应用程序
试试看:创建一个简单的控制台应用程序using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace C....
分类:
其他好文 时间:
2014-06-07 03:00:19
阅读次数:
241
第一步 导包在Assets新建一个Editor目录新建一个Test类using
UnityEngine;using System.Collections;using UnityEditor; public class Test :
Editor{ //打包单个 [MenuItem("Cu...
分类:
其他好文 时间:
2014-05-30 09:34:25
阅读次数:
500
代码如下:using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using System.T...
分类:
其他好文 时间:
2014-05-30 06:48:10
阅读次数:
200
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace
ConsoleApplication2{ class...
分类:
其他好文 时间:
2014-05-30 05:34:16
阅读次数:
272
using System;using System.Collections.Generic;using
System.Diagnostics;using System.Runtime.InteropServices;using System.Text;using
System.Windows;usi...
using System;using System.Collections.Generic;using
System.Text;using System.Collections;using System.Windows.Forms;using
System.Drawing;//展示端口namespa...
分类:
其他好文 时间:
2014-05-29 02:34:07
阅读次数:
505
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 6 using System.IO; 7 using
System.Web; 8 usi...
分类:
Web程序 时间:
2014-05-29 01:07:43
阅读次数:
392
using UnityEngine;using
System.Collections;using UnityEditor;public class ImportModflyTextures :
AssetPostprocessor{ private uint m_Version = 0; ...
分类:
其他好文 时间:
2014-05-28 21:20:56
阅读次数:
427
using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System.Drawing;using
System.Linq;using System.Text;u...
分类:
Web程序 时间:
2014-05-28 18:29:46
阅读次数:
378