노치 화면 겹침 보강 — 전투 전리품 표시칸 · 튜토리얼 남은 턴 칩 · 인트로 건너뛰기를 안전 영역 칸 안으로(PD 2026-11-26)

- 전리품 표시칸(BattleLootFx · 따로 캔버스)이 노치만큼 내려간 전투 HUD 위 띠와 겹쳐 스테이지 이름을 가림(3e2c13fa 의 안전 영역 처리에서 빠짐) → 같은 만큼 내림 · 노치 없는 화면은 변화 없음
- 튜토리얼 남은 턴 칩(HUD 턴 띠 옆 자리) · 인트로 건너뛰기(설계 칸 → 화면 오른쪽 위)도 같은 처리
- 확인: 배치 컴파일 error CS 0 · 1080×2400 가짜 노치 캡처(전투 HUD) · FirstFlowTests · BackKeyTests · UILayerTests 22/22

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
깃 관리자 2026-11-26 09:29:51 +09:00
parent 3e2c13fab9
commit 77772fc139
3 changed files with 11 additions and 3 deletions

View File

@ -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<UiSafeFit>().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))
{

View File

@ -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<UiSafeFit>().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));

View File

@ -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<UiSafeFit>().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);