public Transform fatherOb;
private void Start() {
transform.parent = fatherOb;
}
//倒过来,就是把对方设置成父物体
unity3d 设置子物体
最新推荐文章于 2023-05-27 10:00:16 发布
public Transform fatherOb;
private void Start() {
transform.parent = fatherOb;
}
//倒过来,就是把对方设置成父物体