1 在开始在菜单中直接搜字体,拷贝几个字体至unity(ttf格式)2 创建一个空的游戏体:GameObject --> Crete Empty,为了方便管理,把这游戏体重命名为Font_xirod 。3 在 Inspector 面板中,为这个空游戏体添加 NGUI Font 这个脚本组件。(查找 ...
分类:
其他好文 时间:
2015-06-05 22:31:07
阅读次数:
160
Is It A Tree?
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 24299
Accepted: 8339
Description
A tree is a well-known data structure that is either empty...
分类:
其他好文 时间:
2015-06-04 22:49:07
阅读次数:
146
stack栈c++stack(堆栈)是一个容器的改编,它实现了一个先进后出的数据结构(FILO)使用该容器时需要包含#include头文件;定义stack对象的示例代码如下:stacks1;stacks2;stack的基本操作有:1 s.empty() 如果栈为空...
分类:
其他好文 时间:
2015-06-04 22:30:13
阅读次数:
103
<?php
/**
* 获取给定日期的前一天
* @param string $date
* @return string $yesterday
*/
function getYesterday($date)
{
if(empty($date))
{
$yesterday = date("Y-m-d",strtotime("-1 day"));
}e...
分类:
Web程序 时间:
2015-06-04 15:43:29
阅读次数:
173
private static string ExecuteCmd(string wrokDirectory, string dosCommand) { string output = string.Empty; if (string.IsNullOrEmpty(...
!=null就是不为null!string.IsNullOrEmpty不是null且不是""(string.Empty)-----------Response:!=null就是不为null!string.IsNullOrEmpty不是null且不是""(string.Empty)
分类:
其他好文 时间:
2015-06-04 13:44:57
阅读次数:
121
Implement wildcard pattern matching with support for '?' and '*'.
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequence).
The matching should cov...
分类:
其他好文 时间:
2015-06-03 23:28:01
阅读次数:
162
$award) { self::$proSum += $award[self::$proField]; } if (empty(self::$proSum)) { return self::$checkAward = fals...
分类:
Web程序 时间:
2015-06-03 19:06:17
阅读次数:
124
题目:Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representat...
分类:
其他好文 时间:
2015-06-03 15:33:00
阅读次数:
168
1.Length of Last Word Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the st...
分类:
其他好文 时间:
2015-06-03 15:17:39
阅读次数:
118