using UnityEngine;
 
using System.Collections;
 
public class example : MonoBehaviour {
 
public void Awake() {
 
Screen.SetResolution(1024, 768, true);//自己想要的分辨率,比如1024*768true表示全屏
 
Screen.fullScreen = true;
 
}
 
}
 

 

相关文章:

  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
猜你喜欢
  • 2021-12-27
  • 2021-12-20
  • 2022-01-19
  • 2022-01-04
相关资源
相似解决方案