pNode->getChildByTag(10023)->getComponent(“GUIComponent”);
pNode为一个UI组, 里面放了4个UILoadingBar
现在怎样获取这些UILoadingBar 求指教
pNode->getChildByTag(10023)->getComponent(“GUIComponent”);
pNode为一个UI组, 里面放了4个UILoadingBar
现在怎样获取这些UILoadingBar 求指教
好帖要顶,楼主的头像还是不错滴
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
自问自答,看了源码
先是用个layer包了这个ui 然后从panel取起,果然是小白问题啊…