Player Settings is where you define various parameters (platform specific) for the final game that you will build in Unity. Some of these values for example are used in the Resolution Dialog that launches when you open a standalone game, others are used by XCode when building your game for the iOS devices, so it's important to fill them out correctly.

播放器设置是将在Unity中编译最终游戏时定义的各种参数(特定平台)的地方。当打开独立版游戏,启动时例如使用在分辨率对话框的这些值,当编译iOS设备游戏时,使用于Xcode的一些值,因此,正确地填写它们是十分重要的。

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

从菜单栏查看播放器设置,选择 Edit->Project Settings->Player


Global Settings that apply to any project you create.
将应用于所有项目的全局设置

  • Cross-Platform Properties
    跨平台特性
  • Company Name  公司名称
    The name of your company. This is used to locate the preferences file.
    您的公司名称, 这是用来设置参数文件。
  • Product Name  产品名称
    The name that will appear on the menu bar when your game is running and is used to locate the preferences file also.
    当游戏运行时,这个名字将出现在菜单栏。并且也被使用来设置参数文件。
  • Default Icon  默认图标
    Default icon the application will have on every platform (You can override this later for platform specific needs).
    将应用于每一个平台的默认图标(特定平台需要以后还可以覆盖这个)。

Per-Platform Settings 各平台设置

Desktop

Web-Player Web播放器

Resolution And Presentation 分辨率和描述

  • Resolution
    分辨率
  • Default Screen Width
    默认屏幕宽度
    Screen Width the player will be generated with.
    播放器将生成的屏幕宽度。
  • Default Screen Height
    默认屏幕高度
    Screen Height the player will be generated with.
    播放器将生成的屏幕高度。
  • Run in background
    后台运行
    Check this if you dont want to stop executing your game if the player looses focus.
    如果不想在播放器失去焦点时停止运行游戏,请勾选此项。
  • WebPlayer Template
    网络播放器模板
    For more information you should check the  "Using WebPlayer templates page", note that for each built-in and custom template there will be an icon in this section.
    查看更多信息参阅"使用Web播放器模板页"。注意,对于每一个内置和自定义模板将会对应一个图标在此处显示。
Icon 图标

Icons don't have any meaning for most webplayer builds but they are needed for Native Client builds used as Chrome applications. You can set these icons here.

图标对于大多数Web播放器没有任何意义,但是在编译Chrome应用的本地客户端时需要使用,你可以在这里设置这些图标。

Other Settings 其他设置

  • Rendering
    渲染
  • Rendering Path  渲染路径
    This property is shared between Standalone and WebPlayer content.
    此属性是在单机版和Web版两者共享的。
  •     Vertex Lit  顶点光照
    Lowest lighting fidelity, no shadows support. Best used on old machines or limited mobile platforms.
    最低光照保真,不支持阴影,最好用于老机器或受限的手机平台。
  •     Forward with Shaders 
         正向着色器
    Good support for lighting features; limited support for shadows.
    很好的支持光照特性,有限的支持阴影。
  •     Deferred Lighting 
         延时光照
    Best support for lighting and shadowing features, but requires certain level of hardware support. Best used if you have many realtime lights. Unity Pro only.
    最好的支持光照和阴影特性,但需要一定程度的硬件支持。最好有许多实时光照时使用。Untiy专业版功能。
  • Color Space 色彩空间
    The color space to be used for rendering  用于渲染的色彩空间
  •     GammaSpace Rendering
         伽马空间渲染
    Rendering is gamma-corrected 
    伽马校正渲染
  •     Linear Rendering
         线性渲染
    Rendering is done in linear space 
    在线性空间渲染
  • Hardware Sampling
    硬件采样
  • Static Batching
    静态批处理
    Set this to use Static batching on your build (Inactive by default in webplayers). Unity Pro only.
    编译时设置使用静态批处理(在Web播放器中默认无效)。 Unity 专业版功能 。
  • Dynamic Batching 
    动态批处理
    Set this to use Dynamic Batching on your build (Activated by default).
    编译时设置使用动态批处理(默认激活)。
  • Streaming
    流处理
  • First Streamed Level
    首先流处理的关卡
    If you are publishing a Streamed Web Player, this is the index of the first level that will have access to all Resources.Load assets.
    如果你想发布流媒体网络播放器, 这是第一个关卡的索引,它将访问所有Resources.Load加载的资源。

Standalone 单机

Resolution And Presentation 分辨率和描述

  • Resolution
    分辨率
  • Default Screen Width
    默认屏幕宽度
    Screen Width the stand alone game will be using by default.
    单机游戏默认的屏幕宽度。
  • Default Screen Height
    默认屏幕高度
    Screen Height the plater will be using by default.
    单机游戏默认的屏幕高度。
  • Run in background
    后台运行
    Check this if you dont want to stop executing your game if it looses focus.
    如果你不想在游戏失去焦点时停止游戏,请勾选此项。
  • Standalone Player Options
    单机游戏播放器选项
  • Default is Full Screen
    默认为全屏
    Check this if you want to start your game by default in full screen mode.
    如果你想开始游戏后默认全屏模式,勾选此项。
  • Capture Single Screen
    捕获单屏
    If enabled, standalone games in fullscreen mode will not darken the secondary monitor in multi-monitor setups.
    如果开启,在全屏模式下单机游戏不会在多显示器设置的第二显示器变暗。
  • DisplayResolution Dialog
    显示分辨率对话框
  •     Disabled  禁用
    No resolution dialog will appear when starting the game.
    在游戏开始时,不显示分辨率对话框。
  •     Enabled  启用
    Resolution dialog will always appear when the game is launched.
    在游戏开始时,显示分辨率对话框。
  • Hidden by default  默认隐藏
    The resolution player is possible to be opened only if you have pressed the "alt" key when starting the game.
    在游戏开始时按“alt”键才能打开分辨率对话框。
  • Use Player Log  使用播放器日志
    Write a log file with debugging information.
    写入带有调试信息的日志。
  • Mac App Store Validation
    Mac应用商店验证
    Enable receipt validation for the Mac App Store.
    开启Mac应用商店验证。
  • Supported Aspect Ratios
    支持的长宽比
    Aspect Ratios selectable in the Resolution Dialog will be monitor-supported resolutions of enabled items from this list.
    可选长宽比,在分辨率对话框将提供显示器支持的分辨率。
Icon 图标

  • Override for Standalone
    覆盖图标
    Check if you want to assign a custom icon you would like to be used for your standalone game. Different sizes of the icon should fill in the squares below.
    如果你想自定义单机游戏的图标,请勾选。对应不同大小的图标填入方框。
Splash Image 开机画面

  • Config Dialog Banner
    配置对话框横幅
    Add your custom splash image that will be displayed when the game is starting.
    添加自定义开机画面,将在游戏开始时显示。
Other Settings 其他设置

  • Rendering
    渲染
  • Rendering Path  渲染路径