유니티 C# 가변 해상도 대응 Android , IOS 간단 구현


유니티 C# 가변 해상도 대응 Android , IOS 간단 구현

코드 작성 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraResolution : MonoBehaviour { private void Start() { SetResolution(); } public void SetResolution() { int setWidth = 1080; int setHeight = 1920; int deviceWidth = Screen.width; int deviceHeight = Screen.height; Screen.SetResolution(setWidth, (int)(((float)deviceHeight / deviceWidth) * setWidth)..


원문링크 : 유니티 C# 가변 해상도 대응 Android , IOS 간단 구현