GetUnityTargetName()
Deprecated. Returns the default main target name in Unity project.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.iOS.Xcode
- Assembly: UnityEditor.iOS.Extensions.Xcode
public static string GetUnityTargetName()
Returns
Type | Description |
|---|---|
| string | The default main target name. |
Remarks
Deprecated. The returned target name can then be used to retrieve the GUID of the target via PBXProject.TargetGuidByName function. This function can only be used in Unity-generated projects. Use PBXProject.GetUnityMainTargetGuid or PBXProject.GetUnityFrameworkTargetGuid to get GUID. You need not call PBXProject.TargetGuidByName function.