文档

Unity Engine

Unity Engine

ProducerPackage

For builds made by a package's own build pipeline, such as Addressables AssetBundle builds, the name of that package, for example com.unity.addressables. An empty string for all other builds.
阅读时间1 分钟最后更新于 17 天前

Definition

public string ProducerPackage

Remarks

It is
null
when read from a summary written before this field existed, so test it with
string.IsNullOrEmpty
.