Player Settings
Manual     Reference     Scripting   
Reference Manual > Components > Settings Managers > Player Settings

このドキュメントは有志により翻訳されたもので、オフィシャルではありません。オリジナルのページはこちら
This document is unofficially translated by users.Please see the original document here.

翻訳に関する修正など、ご連絡はこちらまで。
Please send e-mail to here, when you have any question about the translation.

Player Settings

Player Settings is where you define various parameters for the final game that you will build in Unity. Some of these values are used in the Resolution Dialog that launches when you open a standalone game.

To see the Player Settings choose Edit->Project Settings->Player from the menu bar.


The Player Settings

Properties

Company NameThe name of your company. This is used to locate the preferences file.
Product NameThe name that will appear on the menu bar when your game is running and is used to locate the preferences file.
Default Screen WidthDefault horizontal dimension of stand-alone player window.
Default Screen HeightDefault vertical dimension of stand-alone player window.
Default Web Screen WidthDefault horizontal dimension of web player window.
Default Web Screen HeightDefault vertical dimension of web player window.
Default Is Full ScreenIf enabled, the Windowed checkbox on the Resolution Dialog will be disabled by default.
Display Resolution DialogIf enabled, the Resolution Dialog will appear when the game is launched.
Use Alpha in DashboardEnabling this will use the alpha channel rendered in Unity for the transparency of the OSX Dashboard Widget. This allows you to make a dashboard widget with the shape of a mesh for example.
Run in BackgroundIf enabled, your game will continue to run if the user gives focus to another application.
Capture Single ScreenIf enabled, standalone games in fullscreen mode will not darken the secondary monitor in multi-monitor setups.
Always Display WatermarkIf enabled, the Unity watermark will always be displayed in the lower-right hand corner of your game window.
Resolution Dialog BannerReference to the image you would like to display in the Resolution Dialog window.
IconsHere, assign the custom icon you would like to be used for your standalone game. Different sizes of the icon should fill the array. Specifically you should use icon sizes of 32x32, 48x48, and 128x128.
Supported Aspect RatiosAspect Ratios selectable in the Resolution Dialog will be monitor-supported resolutions of enabled items from this list.
First Streamed Level With ResourcesIf you are publishing a Streamed Web Player, this is the index of the first level that will have access to all Resources.Load assets.

Details

The Player Settings window is where many technical preference defaults are set. See also Quality Settings where the different graphics quality levels can be set up.

Publishing a web player

Default Web Screen Width and Default Web Screen Height determine the size used in the html file. You can modify the size in the html file later.

Default Screen Width and Default Screen Height are used by the Web Player when entering fullscreen mode through the context menu in the Web Player at runtime.

Customizing your Resolution Dialog


The Resolution Dialog, presented to end-users

You have the option of adding a custom banner image to the Screen Resolution Dialog in the Standalone Player. The maximum image size is 432 x 163 pixels. The image will not be scaled up to fit the screen selector. Instead it will be centered and cropped.