라이브러리 비활성화 기능 수정 및 초기 메인 화면 UI 변경

This commit is contained in:
정영민
2025-03-20 14:09:04 +09:00
parent f012034879
commit b03b8fd9e6
7 changed files with 116 additions and 198 deletions

View File

@@ -46,7 +46,7 @@ public class UI_BarChartData : UIBase
float clampedX = Mathf.Clamp(topPosition.x + offset.x, -parentSize.x / 2 + uiSize.x / 2, parentSize.x / 2 - uiSize.x / 2);
rectTransform.position = new Vector2(clampedX + offset.x, offset.y);
rectTransform.localPosition = new Vector2(clampedX, offset.y);
gameObject.SetActive(true);
}
}