文档

Unity Engine

Unity Engine

EnableHeadlessMode

Options for building the standalone player in headless mode.
阅读时间1 分钟最后更新于 4 小时前

Definition

警告
Deprecated. Use StandaloneBuildSubtarget.Server instead
EnableHeadlessMode = 16384

Remarks

The application output compiles the standalone player based on the following target platforms:
Mac player: Compiled as a standard console application.
Win Player: Compiled with /System:Console and runs as a standard windows console application.
Linux player: Compiled as a standard console application.
UNITY_SERVER will be defined when building managed assemblies.