文档

Unity Engine

Unity Engine

buildProfilePath

The Asset path of the BuildProfile that was active when the build started.
阅读时间1 分钟最后更新于 23 天前

Definition

public readonly string buildProfilePath { get; }

Remarks

An empty string when no user-created BuildProfile was active (the "classic platform" case), or when the active profile's target/subtarget did not match the build's BuildSummary.platform/subtarget. Use BuildProfile.GetActiveBuildProfile to query the active profile during a build.