LanguageEnglish
  • C#

BuildPipeline

class in UnityEditor

Description

API for building players or AssetBundles.

The BuildPipeline class in the Unity Editor namespace provides essential tools to programmatically Build Players and Build AssetBundles. AssetBundles can be loaded from external sources such as the web, enhancing the flexibility and scalability of content delivery in Unity applications. The class contains several static properties and methods to facilitate building workflows.

Additional resources: AssetBundles, Build Player Pipeline

Static Properties

isBuildingPlayerReturns true when Unity is actively building a Player or AssetBundles

Static Methods

BuildAssetBundlesBuild AssetBundles.
BuildCanBeAppendedChecks if Unity can append the build.
BuildPlayerBuilds a player.
GetBuildTargetNameGiven a BuildTarget will return the well known string representation for the build target platform.
GetCRCForAssetBundleExtract the CRC checksum for the given AssetBundle.
GetHashForAssetBundleExtract the hash for the given AssetBundle.
GetPlaybackEngineDirectoryReturns the path of a player directory. For ex., Editor\Data\PlaybackEngines\AndroidPlayer.
GetPlayerConnectionInitiateModeReturns the mode currently used by players to initiate a connect to the host.
IsBuildTargetSupportedReturns true if the specified build target is currently available in the Editor.
WriteBootConfigWrites out a "boot.config" file that contains configuration information for the very early stages of engine startup.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961