From 77772fc139dc62d74e2ed053321b3ed9a9c9e688 Mon Sep 17 00:00:00 2001 From: swrring Date: Thu, 26 Nov 2026 09:29:51 +0900 Subject: [PATCH] =?UTF-8?q?=EB=85=B8=EC=B9=98=20=ED=99=94=EB=A9=B4=20?= =?UTF-8?q?=EA=B2=B9=EC=B9=A8=20=EB=B3=B4=EA=B0=95=20=E2=80=94=20=EC=A0=84?= =?UTF-8?q?=ED=88=AC=20=EC=A0=84=EB=A6=AC=ED=92=88=20=ED=91=9C=EC=8B=9C?= =?UTF-8?q?=EC=B9=B8=20=C2=B7=20=ED=8A=9C=ED=86=A0=EB=A6=AC=EC=96=BC=20?= =?UTF-8?q?=EB=82=A8=EC=9D=80=20=ED=84=B4=20=EC=B9=A9=20=C2=B7=20=EC=9D=B8?= =?UTF-8?q?=ED=8A=B8=EB=A1=9C=20=EA=B1=B4=EB=84=88=EB=9B=B0=EA=B8=B0?= =?UTF-8?q?=EB=A5=BC=20=EC=95=88=EC=A0=84=20=EC=98=81=EC=97=AD=20=EC=B9=B8?= =?UTF-8?q?=20=EC=95=88=EC=9C=BC=EB=A1=9C(PD=202026-11-26)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 전리품 표시칸(BattleLootFx · 따로 캔버스)이 노치만큼 내려간 전투 HUD 위 띠와 겹쳐 스테이지 이름을 가림(3e2c13fa 의 안전 영역 처리에서 빠짐) → 같은 만큼 내림 · 노치 없는 화면은 변화 없음 - 튜토리얼 남은 턴 칩(HUD 턴 띠 옆 자리) · 인트로 건너뛰기(설계 칸 → 화면 오른쪽 위)도 같은 처리 - 확인: 배치 컴파일 error CS 0 · 1080×2400 가짜 노치 캡처(전투 HUD) · FirstFlowTests · BackKeyTests · UILayerTests 22/22 Co-Authored-By: Claude Opus 5.5 --- Assets/Scripts/OutGame/FirstFlow/IntroScreen.cs | 5 ++++- Assets/Scripts/OutGame/UI/BattleLootFx.cs | 5 ++++- Assets/Scripts/Runtime/Tutorial/TutorialGuideUI.cs | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/OutGame/FirstFlow/IntroScreen.cs b/Assets/Scripts/OutGame/FirstFlow/IntroScreen.cs index 1348006b..0e208379 100644 --- a/Assets/Scripts/OutGame/FirstFlow/IntroScreen.cs +++ b/Assets/Scripts/OutGame/FirstFlow/IntroScreen.cs @@ -182,7 +182,10 @@ namespace TKS.OutGame var sk = L("intro_skip"); // 오른쪽에서 x | 위 y | 폭 | 높이 | 글자 | 나타나는 시간(빈칸 = 연의 연출과 같음) var sa = L("intro_skip_art"); // 스킨 | 글자 색(빈칸 = 테마 text_on_yellow) float sw = At(sk, 2, 190f), sh = At(sk, 3, 80f); - var holder = UiKit.Rect("Skip", ui, new Vector2(1f, 1f), new Vector2(1f, 1f), new Vector2(-At(sk, 0, 40f), -At(sk, 1, 60f)), new Vector2(sw, sh)); + // 건너뛰기 = 화면 안전 영역 오른쪽 위(설계 칸이 아니라 화면 기준 · 16:9 노치 폰에서 카메라 구멍 밑에 깔리지 않게 · 2026-11-26) + var skipSafe = UiKit.Fill("SafeArea", root); + skipSafe.gameObject.AddComponent().Apply(); + var holder = UiKit.Rect("Skip", skipSafe, new Vector2(1f, 1f), new Vector2(1f, 1f), new Vector2(-At(sk, 0, 40f), -At(sk, 1, 60f)), new Vector2(sw, sh)); string skin = sa.Length > 0 ? sa[0].Trim() : ""; if (skin.Length > 0 && UISkin.Has(skin)) { diff --git a/Assets/Scripts/OutGame/UI/BattleLootFx.cs b/Assets/Scripts/OutGame/UI/BattleLootFx.cs index aa755cde..457903ff 100644 --- a/Assets/Scripts/OutGame/UI/BattleLootFx.cs +++ b/Assets/Scripts/OutGame/UI/BattleLootFx.cs @@ -106,7 +106,10 @@ namespace TKS.OutGame void Build() { float w = N("chip", 2), h = N("chip", 3); - chip = UiKit.Rect("LootChip", canvasRt, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(N("chip", 0), -N("chip", 1)), new Vector2(w, h)); + // 안전 영역 칸 안(2026-11-26) — 전투 HUD 위 띠가 노치만큼 내려가므로 표시칸도 같이 내려야 위 띠(스테이지 이름) 밑 · 턴 현판 왼쪽 자리 그대로(날아오는 자리 = SlotPoint 월드 좌표라 그대로 맞음) + var safe = UiKit.Fill("SafeArea", canvasRt); + safe.gameObject.AddComponent().Apply(); + chip = UiKit.Rect("LootChip", safe, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(N("chip", 0), -N("chip", 1)), new Vector2(w, h)); UiKit.Skin(chip, S("chip_art", 0), UiKit.Col(S("chip_art", 1), UiKit.Dark)); float gi = N("gold", 1), ci = N("chest", 2), cx = N("chest", 4); goldSlot = UiKit.Rect("GoldSlot", chip, new Vector2(0f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(h * 0.5f + 4f, 0f), new Vector2(gi, gi)); diff --git a/Assets/Scripts/Runtime/Tutorial/TutorialGuideUI.cs b/Assets/Scripts/Runtime/Tutorial/TutorialGuideUI.cs index 6af503d2..2940f593 100644 --- a/Assets/Scripts/Runtime/Tutorial/TutorialGuideUI.cs +++ b/Assets/Scripts/Runtime/Tutorial/TutorialGuideUI.cs @@ -125,7 +125,9 @@ namespace TKS foot.color = new Color(1f, 1f, 1f, 0.6f); card.gameObject.SetActive(false); - chip = UiKit.Rect("TurnLeft", info, new Vector2(1f, 1f), new Vector2(1f, 1f), new Vector2(-14f, -108f), new Vector2(290f, 74f)); // 턴 띠 오른쪽 · 미니맵 위 + var chipSafe = UiKit.Fill("SafeArea", info); // 전투 HUD 와 같은 안전 영역 칸(HUD 위 띠가 노치만큼 내려가면 같이 · 2026-11-26) + chipSafe.gameObject.AddComponent().Apply(); + chip = UiKit.Rect("TurnLeft", chipSafe, new Vector2(1f, 1f), new Vector2(1f, 1f), new Vector2(-14f, -108f), new Vector2(290f, 74f)); // 턴 띠 오른쪽 · 미니맵 위 UiKit.Border(UiKit.Paint(chip, panel), gold, 3f); chipText = UiKit.Title(UiKit.FillLabel(chip, "", 36, new Color(1f, 0.9f, 0.45f)), true); chip.gameObject.SetActive(false);