首页 > 其他 > 详细

UISprite

时间:2014-06-25 14:38:28      阅读:520      评论:0      收藏:0      [点我收藏+]

UISprite

  UISprite用于引用一个UIAtlas中的sprite。

  bubuko.com,布布扣

  此脚本最强大的功能是Sprite Type,主要指定在需拉伸图片时的行为,它有以下几种值:

    1)Simple:普通拉伸。

    2)Sliced:九宫格拉伸,各边固定宽度通过Edit在UIAtlas中来指定。

    bubuko.com,布布扣

    3)Tiled:一个接一个的平铺,就像铺砖一样。

    4)Filled:if you‘re doing a cooldown timer or a progress bar. 有多种Filled形式。

    bubuko.com,布布扣

  The "Box Collider" option on the sprite so that the box collider auto-updates as you resize the sprite

  bubuko.com,布布扣

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

UISprite,布布扣,bubuko.com

UISprite

原文:http://www.cnblogs.com/tekkaman/p/3806592.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!