辣条 发表于 2012-8-12 22:17

Unity3D 移动的按钮 附效果图



var h=-10;
function OnGUI () {
// This line feeds "This is the tooltip" into GUI.tooltip
h+= 10 * Time.deltaTime;
if(h>= 500)h =500;
GUI.Button (Rect (h+10,10,100,20), GUIContent ("Click me", "This is the tooltip"));
// This line reads and displays the contents of GUI.tooltip
GUI.Label (Rect (10,40,100,20), GUI.tooltip);
}


暴躁小强 发表于 2012-11-13 11:23

楼主加油,我们都看好你哦。

☆花谢蝶飞☆ 发表于 2012-11-13 15:05

看到这帖子真是高兴!

小火柴 发表于 2012-12-6 10:43

谢谢楼主......

tz259417 发表于 2012-12-14 15:02

楼主加油,我们都看好你哦。

Einhero 发表于 2012-12-14 16:20

楼主又见了

jstones 发表于 2012-12-14 17:22

{:5_427:}{:5_435:}{:5_427:}

小纯洁 发表于 2017-3-3 12:40

很好哦

lxd875697126 发表于 2017-3-3 12:41

不错不错

chenlu632 发表于 2017-3-3 12:43

好帖就是要顶
页: [1] 2 3 4 5 6 7 8
查看完整版本: Unity3D 移动的按钮 附效果图