kingBook

导航

unity 返回子对象组件

Component[] GetComponentsInChildren(Type t, bool includeInactive = false);
//includeInactive: 是否查找非激活的对象

 

posted on 2017-03-19 19:58  kingBook  阅读(191)  评论(0)    收藏  举报