Version: 2021.1

BuildPlayerOptions

struct in UnityEditor

매뉴얼로 전환

설명

Provide various options to control the behavior of BuildPipeline.BuildPlayer.

변수

assetBundleManifestPathThe path to an manifest file describing all of the asset bundles used in the build (optional).
extraScriptingDefinesUser-specified preprocessor defines used while compiling assemblies for the player.
locationPathNameThe path where the application will be built.
optionsAdditional BuildOptions, like whether to run the built player.
scenesThe Scenes to be included in the build. If empty, the currently open Scene will be built. Paths are relative to the project folder (Assets/MyLevels/MyScene.unity).
targetThe BuildTarget to build.
targetGroupThe BuildTargetGroup to build.