标签:ret nbsp led uil component body contain 事件 enabled
容器的鼠标默认事件
| touchEnabled | touchChildren | touchThrough | |
| DisplayObject | false | \ | \ |
| DisplayObjectContainer | false | true | \ |
| Sprite | false | true | \ |
| Group | true | true | false |
| UILayer | true | true | false |
| Component | true | true | \ |
| Image | true | \ | \ |
| Button | true | false | \ |
总结:原生显示对象,默认不能点击,子对象默认可点击
EUI显示对象,默认可点击,子对象默认可点击,默认不能穿透
标签:ret nbsp led uil component body contain 事件 enabled
原文地址:http://www.cnblogs.com/gamedaybyday/p/6060436.html