文档

Unity Engine

Unity Engine

GetBuildProfileAtPath(string)

Retrieves the build profile asset located at the specified path within the Unity project.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static BuildProfile GetBuildProfileAtPath(string path)

Parameters

path

The path to the build profile asset within the
Assets
folder.

Returns

Type

Description

BuildProfileThe BuildProfile asset found at the given path, or null if the asset does not exist or the path is invalid.