2.3指示器图片高亮显示shader
新建shader,代码如下
Shader "Custom/SkillHintBg" {
Properties {
_MainTex ("Base Texture", 2D) = "white" {}
_Color ("Main Color", Color) = (1,1,1,1)
}
Category {
Tags { "Queue"="T...
分类:
编程语言 时间:
2016-05-12 06:57:25
阅读次数:
832
18.11 Imagine you have a square matrix, where each cell (pixel) is either black or white. Design an algorithm to find the maximum subsquare such that ...
分类:
其他好文 时间:
2016-05-12 01:28:41
阅读次数:
177
第一题:
interfaceIWhite{
publicvoidwhite();
}
interfaceIRich{
publicvoidrich();
}
interfaceIBeauti{
publicvoidbeauti();
}
interfaceIWRBextendsIWhite,IRich,IBeauti{};
classRichMan{
publicvoidtoMarry(IWRBws){
ws.white();
ws.rich();
ws.beauti();
}
}
clas..
分类:
编程语言 时间:
2016-05-12 00:09:33
阅读次数:
285
《Hadoop实战》陆嘉恒 《Hadoop - The Definitive Guide》Tom White,中文版《Hadoop权威指南》 《Hadoop技术内幕-深入理解MapReduce架构设计与实现原理》董西成 《Hadoop技术内幕-深入解析HADOOP COMMON和HDFS架构设计与实 ...
分类:
其他好文 时间:
2016-05-10 23:26:40
阅读次数:
124
(1) 创建一个文件Blowing in the wind.txt,其内容是: #问题非原创
How many roads must a man walk down
Before they call him a man
How many seas must a white dove sail
Before she sleeps in the sand
How many times...
分类:
其他好文 时间:
2016-05-07 10:52:57
阅读次数:
194
Shader "属性/属性定义" {
//具体属性定义后面是没有分号的 切记
Properties {
//定义颜色属性 颜色的变化 对应材质球颜色同步变化
_Color ("Color", Color) = (1,1,1,1)
//定义2d贴图 white:material的颜色是white 默认值 也可以修改为black...
_MainTex1 ("Albedo1 ...
分类:
其他好文 时间:
2016-05-07 09:17:46
阅读次数:
130
今天整理了一下学习编译原理时,实现语言Medusa时写的笔记,搞出了一篇类似说明文档的东西,介绍下Medusa
语法部分
Medusa是一门动态脚本语言,语法和代码格式借鉴Python,运行代码在顶层书写。
Medusa不识别':' ';'等符号,但识别white spcae和换行符,用户编程注意:
1 + -9:执行结果是-8
1 + - 9:语法分析错误
...
分类:
编程语言 时间:
2016-05-06 12:25:03
阅读次数:
193
一般的文字截断(适用于内联与块): .text-overflow { display:block;/*内联对象需加 */ width:31em;/* 何问起 hovertree.com */ word-break:keep-all;/* 不换行 */ white-space:nowrap;/* 不换 ...
分类:
Web程序 时间:
2016-05-05 14:40:11
阅读次数:
246
本文摘自 http://www.wufangbo.com/css-qiang-zhi-huan-hang/ 强制换行与强制不换行用到的属性 我们一般控制换行所用到的CSS属性一共有三个:word-wrap; word-break; white-space。这三个属性可以说是专为了文字断行而创造出来的 ...
分类:
Web程序 时间:
2016-05-05 12:46:42
阅读次数:
204
17.14 Oh, no! You have just completed a lengthy document when you have an unfortunate Find/Replace mishap. You have accidentally removed all spaces, p ...
分类:
其他好文 时间:
2016-04-30 12:47:05
阅读次数:
210