unity 如何在不绑定有GetComponentsInChildren()方法代码的情况下获取子物体
因为要继承TTUIPage无法绑定public class UIMessage : TTUIPage
TTUIPage里有个gameObject变量,直接使用gameObject.GetComponentsInChildren()就可以了,TTUIPage里还有个transform变量,也可以使用
问得不明不白的 ,那就用另外的脚本获取。