让GUI循环切换显示隐藏状态,可用来做提示信息效果
星期四, 04/29/2010 - 15:28
一段实用的代码,比较特别的间隔计时器,让对象忽隐忽现。
if (Time.time % 2 < 1) {
if (GUI.Button (Rect (10,10,200,20), "Meet the flashing button")) {
print ("You clicked me!");
}
}
