Programmer:)
[Unity] object Hierarchy 순서 Script에서 Control 본문
반응형
transform.SetAsFirstSiling();
: parent에서 맨위 생성
transform.SetAsLastSiling();
: parent에서 맨 아래 생성
transform.SetSiblingIndex(index);
: parent index 번째로 위치 0부터 시작.
반응형
'DEV > Unity' 카테고리의 다른 글
[Unity] Google Sheets 연동 ( google sheets to unity ) (0) | 2022.10.11 |
---|---|
[C#] string '+' or Concat or StringBuilder (0) | 2022.08.24 |
[Unity] Access "Left", "Right", "Top" and "Bottom" of RectTransform via script (0) | 2022.06.03 |
[Unity] Scroll View Script로 컨트롤 하기 (0) | 2022.03.28 |
[Unity]ProBuilder TEST (WebGL Build) (0) | 2022.03.24 |
Comments