文档

Unity Engine

Unity Engine

ProjectCapabilityManager(string, string, string, string)

Creates a new ProjectCapabilityManager object.
阅读时间1 分钟最后更新于 1 个月前

Definition

public ProjectCapabilityManager(string pbxProjectPath, string entitlementFilePath, string targetName = null, string targetGuid = null)

Parameters

pbxProjectPath


entitlementFilePath


targetName

Name of the target project.

targetGuid

The GUID of the target as returned by PBXProject.TargetGuidByName

Remarks

Note: To use this method, you need to provide either a
targetName
or a
targetGuid
. If you provide both or none, Unity throws an exception.