locationPathName
The path where the application will be built.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public string locationPathName { readonly get; set; }
Remarks
The path you specify must end with the correct extension for the file format you will build. This path won't be changed by Unity. Set the file format using EditorUserBuildSettings.buildAppBundle.
-
If your file is an Android Package, endwith
locationPathName..apk -
If your file is an Android App Bundle, endwith
locationPathName..aab
Additional Resources: EditorUserBuildSettings.GetBuildLocation, Build path requirements for target platforms.