Version: 2022.2

BuildPlayerContext

class in UnityEditor.Build

切换到手册

描述

Get a BuildPlayerContext object from a BuildPlayerProcessor.PrepareForBuild callback.

变量

BuildPlayerOptionsThe player build options associated with this build.

公共函数

AddAdditionalPathToStreamingAssetsAdd additional streaming assets to the built player data. For example, you can include AssetBundles or other streaming assets without first putting them in the project StreamingAssets folder.