纳金网
标题:
unity3d 设置子物体
[打印本页]
作者:
yeu1233
时间:
2012-9-4 09:46
标题:
unity3d 设置子物体
public Transform fatherOb;
private void Start() {
transform.parent = fatherOb;
}
倒过来,就是把对方设置成父物体
欢迎光临 纳金网 (http://go.narkii.com/club/)
Powered by Discuz! X2.5