遊戲天然呆
2011年11月5日 星期六
如何設定為子物件
簡單又直接的問題
public Transform fatherOb;
private void Start() {
transform.parent = fatherOb;
}
沒了
倒過來說,就是把對方設定成父物件就好了
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言