코드 작성 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Example : MonoBehaviour { public int width = 1080; //가로 public int height = 1920; //세로 private void Start() { Screen.SetResolution(width, height, true); } }
유니티 C# 해상도 설정 SetResolution 간단 사용법에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.
원문링크 : 유니티 C# 해상도 설정 SetResolution 간단 사용법