码迷,mamicode.com
首页 > 其他好文 > 详细

UIButton

时间:2014-06-25 13:30:43      阅读:276      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   http   tar   color   

UIButton

  Button is a simple component designed to receive hover, pressed and click events, and change the color of a remote sprite. You can also optionally attach an Image Button component to the same game object to get sprite swapping functionality as well.

  UIButton提供根据事件修改UISprite的能力。呆以设置切换sprite的时间。编辑器强制Sprites->Normal和UISprite中的值一致。

  bubuko.com,布布扣

  Tween Target用于指定本色方案,通常此处引用NGUI内置方案。

  bubuko.com,布布扣

  If you want to trigger a remote function when you click on the button, drag & drop the target game object into the "Notify" field, then choose the function from the drop-down list. Note that in order for the function to show up, it must be of "public void FuncName (void)" type. For example:

  bubuko.com,布布扣

参考:http://www.tasharen.com/forum/index.php?topic=6708

  

UIButton,布布扣,bubuko.com

UIButton

标签:des   style   blog   http   tar   color   

原文地址:http://www.cnblogs.com/tekkaman/p/3806752.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!