notch (1) 썸네일형 리스트형 유니티 UI 노치 대응 (Unity UI Notch Devices) Package Manager에서 Advanced를 눌러 Show preview packages를 체크하고, Device Simulator를 설치한다. Game 탭을 눌러 Simulator로 변경한다. 디바이스별 화면을 확인할 수 있다. UI 테스트를 위해 이미지를 만들어 화면의 사이드에 배치한다. (* 반드시 Anchor와 Stretch를 설정해야 적용된다.) using System.Collections; using System.Collections.Generic; using UnityEngine; public class SafeArea : MonoBehaviour { RectTransform rectTransform; Rect safeArea; Vector2 minAnchor; Vector2 maxAn.. 이전 1 다음