分享的东西比较简单也就几句话而已:
public class scenceAndpoint : MonoBehaviour {
public Transform[] point;
void Start () {
point = GetComponentsInChildren<Transform>();
foreach (Transform child in point){
.........
}
void Update () {
}
}