Unity

[Unity] RectTransform width height 변경하는 방법

Mirab 2021. 4. 2. 23:25

자주 찾아보게 되어서 포스팅으로 작성하기로 했다.

rectTransform.sizeDelta = new Vector2(width, height);

'Unity' 카테고리의 다른 글

SOLID, 객체지향 원칙  (0) 2021.08.15
[Unity] ios unitywebrequest.get  (0) 2021.06.28
[Unity] RemoveListener, RemoveAllListener  (0) 2021.04.15
[Unity] 소수점 처리  (0) 2021.04.14
[Unity] text component  (0) 2021.04.03