2024年5月4日发(作者:)

static var

defaultIsFullScreen

: bool

Description

描述

If enabled, the game will default to fullscreen mode.

如果启用,游戏将默认全屏模式。

The Windowed checkbox on the Resolution Dialog will be disabled by default

when this setting is enabled.

当这个设置启用,分辨【狗刨学习网】率对话框中的复选框默认将被禁用。

Custom player settings.

自定义播放器设置。

// Simple Script that saves and loads custom

// Stand-alone/Web player screen settings among

// Unity Projects

//保存和加载Unity项目的自定义独立版/Web播放器设置

class CustomSettings extends EditorWindow {

var compName : String = "";

var prodName : String = "";

var screenWidth : int = 640;

var screenHeight : int = 480;

var webScreenWidth : int = 640;

var webScreenHeight : int = 480;

var fullScreen : boolean = false;

@MenuItem("Examples/Custom Settings")

static function Init() {

var window = GetWindow(CustomSettings);

();

}

function OnGUI() {