u3d发布成全屏的方式

using UnityEngine;
 
using System.Collections;
 
public class example : MonoBehaviour {
 
public void Awake() {
 
Screen.SetResolution(1024, 768, true);//自己想要的分辨率,比如1024*768true表示全屏
 
Screen.fullScreen = true;
 
}
 
}
 
原文地址:https://www.cnblogs.com/dragon2012/p/3765605.html