Notice
Recent Posts
Recent Comments
Link
스토리지
[06.02] Rect Transform 본문
Pos X 및 Pos Y => anchordPosition으로 변경할 수 있다.
변경 할 때는 new Vector2 형식으로 해야된다.
Width 및 Height => sizeDelta로 변경할 수 있다.
변경 할 때는 new Vector2 형식으로 해야된다.
var galleryRect = this.galleryPanel.GetComponent<RectTransform>();
var dialogRect = this.dialogPanel.GetComponent<RectTransform>();
galleryRect.DOAnchorPos(new Vector2(0, 0), 0.3f, true);
dialogRect.DOAnchorPos(new Vector2(-1205, 0), 0.3f, true);
'개발일지' 카테고리의 다른 글
[06.14] AWS EC2를 이용해서 웹서버 배포하기 - 02 (0) | 2021.06.14 |
---|---|
[06.14] AWS EC2를 이용해서 웹서버 배포하기 - 01 (0) | 2021.06.14 |
[5.27] 게임기획 - 01 (0) | 2021.05.27 |
개발 발표자료 (0) | 2021.05.24 |
[05.21] MongoDB 설치 및 세팅 (0) | 2021.05.21 |
Comments