Unity 초보
2017년 4월 11일 화요일
[Unity] Beginner RectTransform.SetSizeWithCurrentAnchors
RectTransform
SetSizeWithCurrentAnchors
지정된 축에(Vertical, Horizontal) 계산되어진 사이즈를 적용하여 rect 를 수정할 때 사용.
참고 이미지)
사용사례) 행과열에 따른 크기조절(인벤토리)
댓글 없음:
댓글 쓰기
최근 게시물
홈
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기