u3d发布成全屏的方式
时间:2014-06-06 22:26:24
收藏:0
阅读:165
using
UnityEngine;
using
System.Collections;
public
class
example
:
MonoBehaviour
{
public
void Awake
(
)
{
Screen.SetResolution
(
1024
,
768
,
true
)
;
/
/
自己想要的分辨率,比如
1024
*
768
,
true
表示全屏
Screen.fullScreen
=
true
;
}
}
评论(0)