resource.load上来一张贴图就行。 详细可参看:unity圣典 “Resources
资源”、“Resources.Load 加载”相关篇幅介绍。using UnityEngine;using System.Collections;public
class example : MonoB...
分类:
其他好文 时间:
2014-06-29 14:24:46
阅读次数:
261
1 BASE64Encoder base64=new BASE64Encoder();2 String
encoderStr=base64.encode(string.getBytes("utf-8"));3 System.out.println(en...
分类:
其他好文 时间:
2014-06-07 05:24:28
阅读次数:
211
1)定义: URI: Uniform Resource Identifier,通用资源标识符
---是一个用于标识某一互联网资源名称的字符串(by 维基百科) URL:Uniform Resource Locato,统一资源定位符
从关系上来看,URI属于父类,URL属于URI的子类。U...
分类:
其他好文 时间:
2014-05-30 12:48:10
阅读次数:
328
实例代码如下: String str = null; String uSelectDate =
String.valueOf(str);
System.out.println("==================uSelectDate:"+uSelectD...
分类:
编程语言 时间:
2014-05-30 09:39:52
阅读次数:
402
当进入改壁纸的设置页面 但是还没有设置时09-21 07:55:05.575:
INFO/System.out(1337): service onCreate09-21 07:55:05.614:
INFO/System.out(1337): service onCreateEngine09-21 ...
分类:
移动开发 时间:
2014-05-30 06:36:56
阅读次数:
284
ref和out的使用与区别out的使用—————————————————————————————————————————————————
class Program { static void Main(string[] args) { string tmp;//先声明,但不初始化 ...
分类:
其他好文 时间:
2014-05-30 04:49:48
阅读次数:
154
错误提示:E: Could not get lock /var/lib/dpkg/lock -
open (11: Resource temporarily unavailable) E: Unable to lock the administration
directory (/var/lib/d...
分类:
其他好文 时间:
2014-05-30 03:01:41
阅读次数:
234
參照
http://blog.csdn.net/dengroj2009/article/details/4636456
中方案二,問題解決。不過,感覺博主記錄問題方式很規範,記錄下。記錄整個筆記的流程:事件/錯誤/解決方案/步驟/原因總結
分类:
系统相关 时间:
2014-05-29 22:20:13
阅读次数:
436
void CWnd::SetWindowText(LPCTSTR
lpszString)ASSERT(::IsWindow(m_hWnd)); Debug Assertion
Failed原因:ID和Resource中的控件没有关联起来,导致运行的时候,发现hWnd没有相应的对象,没有实例化,hWn...
1:标准输出;2:错误输出1,exec启动一个新的shell将STDOUT文件描述符重定向到文件#!/bin/shecho
"test exec..."exec > out.txt exec 2> out.errorecho "this is the first
line"#故意生成错误信息,将输出...
分类:
系统相关 时间:
2014-05-29 10:28:51
阅读次数:
326