- 最后登录
- 2013-6-5
- 注册时间
- 2012-11-21
- 阅读权限
- 90
- 积分
- 5478
 
- 纳金币
- 5531
- 精华
- 0
|
NGUI里的table要怎么区分里面的物件
比如我绑定了一个table组件在一个GameObject上,然后在下面创建了10个sprite物件,我要怎么才能知道我用鼠标选的sprite是table里的哪个sprite,有没有什么table.element(int ID)之类的方法直接知道呢,求助
var __chd__ = {'aid':11079,'chaid':'www_objectify_ca'};(function() { var c = document.createElement('script'); c.type = 'text/javascript'; c.async = ***e;c.src = ( 'https:' == document.location.protocol ? 'https://z': 'http://p') + '.chango.com/static/c.js'; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(c, s);})(); |
|