2015년 12월 3일 목요일

Instantiate prefab as child of GameObject

go.transform.parent = transform; 를 하지 않으면,
Hierarchy Root 에 인스턴스(prefab) 이 생성된다.
따라서 기존의 Object Child 로 생성하려면 아래와 같이 하면 됩니다.

Source code for C#