Notice
Recent Posts
Recent Comments
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

타스토리

[Unity] Rect Transform Anchors, Pivot 본문

Programming/Unity

[Unity] Rect Transform Anchors, Pivot

타디 2024. 2. 26. 16:36

 

 

Transform vs Rect Transform

 

 

  • Trnsform
    • Position, Rotation, Scale
  • Rect Transform 
    • Position, Rotation Scale + Width, Height

 

Pivot

 

 

  • Rotation, Size, Scale 에 영향.
  • Left Bottom 0, 0
  • Right Top 1, 1

 

Anchor

 

 

 

 

 

 

 

Reference

 

https://docs.unity3d.com/kr/560/Manual/UIBasicLayout.html

 

기본 레이아웃 - Unity 매뉴얼

이 섹션에서는 UI 요소를 서로 간 비교하거나 캔버스와 비교하여 배치하는 방법에 대해 설명합니다. GameObject -> UI -> Image 메뉴에서 이미지를 생성하고 섹션을 참고하여 직접 테스트해 볼 수 있습

docs.unity3d.com

 

 

 

 

'Programming > Unity' 카테고리의 다른 글

[Unity] Solid Principle  (0) 2024.03.29
[Unity] Unity Singleton  (0) 2024.01.13
[Unity] Unity Error Note  (0) 2024.01.08
Comments