Instantiate하면서 부모 계층을 설정할 때 밑의 오류를 가끔 보게 될 것이다.1) Cannot instantiate objects with a parent which is persistent. New object will be created without a parent.2) Setting the parent of a transform which resides in a Prefab Asset is disabled to prevent data corruption 첫 번째 오류가 났을 때의 코드이다. GameObject clone = Instantiate(weaponModel, modelTransform);modelTransform은 해당 코드를 포함한 스크립트의 자식 transform이..