GetUnityTargetName()
Deprecated. Returns the default main target name in Unity project.
읽는 시간 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.