Sprite (1) 썸네일형 리스트형 유니티 스프라이트 해상도 대응 (Unity Sprite Resolution Devices) UI와 별개로 메인 카메라에 잡히는 스프라이트 위치도 분명 기기별 위치가 다르게 보이기 때문에 대응해줘야 한다. Sprite를 하나 생성해 Main Camera화면에 맞춰 Scale 값을 조절한다. (이 스프라이트가 기준점) 그리고, Sprite Renderer를 비활성화 시킨다. using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraResolution : MonoBehaviour { public SpriteRenderer rink; // Use this for initialization void Start() { float screenRatio = (float)Screen.width.. 이전 1 다음