반응형
- 코드 작성
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);
}
}
반응형