1、使用 transform.Find("name");
transform.Find("name");
2、设置 GetComponentInChildren<>(true); 包含 active 为 false 的子物体
transform.GetComponentInChildren<>(true);//includeInactive
transform.Find("name");
transform.GetComponentInChildren<>(true);//includeInactive