A要变成B的子对象,则要写 a.transform.parent=b.transform; 转载于:https://www.cnblogs.com/chenzhongdong/p/4741672.html