Unity
[Unity][방법] 부모 오브젝트 찾기
usingsystem
2022. 9. 26. 13:12
728x90
- 가장 상위 부모 찾기
transform.root.name
- 바로 위에 부모 찾기
transform.parent.gameObject;
728x90