文档

Unity Engine

Unity Engine

GetBuildLocation(BuildTarget)

Returns the location used for the last saved build.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static string GetBuildLocation(BuildTarget target)

Parameters

Returns

Type

Description

string

Remarks

The location is updated when you select Build in the Build Profiles window and choose a build location using the UI, or call
EditorUserBuildSettings.SetBuildLocation
.