Version: 2022.3

BuildPipeline

class in UnityEditor

切换到手册

描述

允许您以编程方式构建可从 Web 加载的播放器或 AssetBundle。

静态变量

isBuildingPlayer目前是否正在构建播放器?

静态函数

BuildAssetBundlesBuild all AssetBundles.
BuildCanBeAppendedChecks if Unity can append the build.
BuildPlayer构建一个播放器。
GetBuildTargetNameGiven a BuildTarget will return the well known string representation for the build target platform.
GetCRCForAssetBundle提取给定 AssetBundle 的 CRC 校验和。
GetHashForAssetBundle提取给定 AssetBundle 的哈希值。
GetPlaybackEngineDirectory返回玩家目录的路径。例如,Editor\Data\PlaybackEngines\AndroidPlayer。在某些情况下,玩家目录路径可能受 BuildOptions.Development 影响。
GetPlayerConnectionInitiateModeReturns the mode currently used by players to initiate a connect to the host.
IsBuildTargetSupported如果指定构建目标目前在编辑器中可用,则返回 true。
WriteBootConfigWrites out a "boot.config" file that contains configuration information for the very early stages of engine startup.